org.jenkinsci.main.modules.instance_identity
Class InstanceIdentity

java.lang.Object
  extended by 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

Constructor Summary
InstanceIdentity()
           
InstanceIdentity(File keyFile)
           
 
Method Summary
static InstanceIdentity get()
           
 RSAPrivateKey getPrivate()
           
 RSAPublicKey getPublic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceIdentity

public InstanceIdentity()
                 throws IOException
Throws:
IOException

InstanceIdentity

public InstanceIdentity(File keyFile)
                 throws IOException
Throws:
IOException
Method Detail

getPublic

public RSAPublicKey getPublic()

getPrivate

public RSAPrivateKey getPrivate()

get

public static InstanceIdentity get()


Copyright © 2004-2011. All Rights Reserved.