public class InstanceIdentity extends Object
We wrote this for authenticating Jenkins to MetaNectar, but this should be useful wherever we need to authenticate Jenkins against something else.
| Constructor and Description |
|---|
InstanceIdentity() |
InstanceIdentity(File keyFile) |
| Modifier and Type | Method and Description |
|---|---|
static InstanceIdentity |
get() |
RSAPrivateKey |
getPrivate() |
RSAPublicKey |
getPublic() |
public InstanceIdentity()
throws IOException
IOExceptionpublic InstanceIdentity(File keyFile) throws IOException
IOExceptionpublic RSAPublicKey getPublic()
public RSAPrivateKey getPrivate()
public static InstanceIdentity get()
Copyright © 2004-2012. All Rights Reserved.