@Extension public class InstanceIdentityRSAProvider extends InstanceIdentityProvider<RSAPublicKey,RSAPrivateKey>
InstanceIdentityProvider for InstanceIdentityProvider.RSA.InstanceIdentityProvider.KeyTypes<PUB extends PublicKey,PRIV extends PrivateKey>DSA, EC, RSA| Constructor and Description |
|---|
InstanceIdentityRSAProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected X509Certificate |
getCertificate()
Gets the self-signed
X509Certificate that is associated with this identity. |
protected KeyPair |
getKeyPair()
Gets the
KeyPair that comprises the instance identity. |
protected RSAPrivateKey |
getPrivateKey()
Shortcut to
KeyPair.getPrivate(). |
protected RSAPublicKey |
getPublicKey()
Shortcut to
KeyPair.getPublic(). |
protected KeyPair getKeyPair()
KeyPair that comprises the instance identity.getKeyPair in class InstanceIdentityProvider<RSAPublicKey,RSAPrivateKey>KeyPair that comprises the instance identity. null could technically be returned in
the event that a keypair could not be generated, for example if the specific key type of this provider
is not permitted at the required length by the JCA policy.protected RSAPublicKey getPublicKey()
KeyPair.getPublic().getPublicKey in class InstanceIdentityProvider<RSAPublicKey,RSAPrivateKey>null if InstanceIdentityProvider.getKeyPair() is null.protected RSAPrivateKey getPrivateKey()
KeyPair.getPrivate().getPrivateKey in class InstanceIdentityProvider<RSAPublicKey,RSAPrivateKey>null if InstanceIdentityProvider.getKeyPair() is null.protected X509Certificate getCertificate()
X509Certificate that is associated with this identity. The certificate
will must be currently valid. Repeated calls to this method may result in new certificates being generated.getCertificate in class InstanceIdentityProvider<RSAPublicKey,RSAPrivateKey>null if InstanceIdentityProvider.getKeyPair() is null.Copyright © 2016. All rights reserved.