org.jenkinsci.main.modules.instance_identity
Class InstanceIdentity
java.lang.Object
org.jenkinsci.main.modules.instance_identity.InstanceIdentity
public class InstanceIdentity
- extends Object
Captures the RSA key pair that identifies/authenticates this instance.
We wrote this for authenticating Jenkins to MetaNectar, but this should be useful
wherever we need to authenticate Jenkins against something else.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceIdentity
public InstanceIdentity()
throws IOException
- Throws:
IOException
InstanceIdentity
public InstanceIdentity(File keyFile)
throws IOException
- Throws:
IOException
getPublic
public RSAPublicKey getPublic()
getPrivate
public RSAPrivateKey getPrivate()
get
public static InstanceIdentity get()
Copyright © 2004-2011. All Rights Reserved.