org.apache.geronimo.util.jce.provider
Class JCERSAPrivateKey
java.lang.Object
org.apache.geronimo.util.jce.provider.JCERSAPrivateKey
- All Implemented Interfaces:
- Serializable, RSAKey, RSAPrivateKey, Key, PrivateKey, PKCS12BagAttributeCarrier
- Direct Known Subclasses:
- JCERSAPrivateCrtKey
public class JCERSAPrivateKey
- extends Object
- implements RSAPrivateKey, PKCS12BagAttributeCarrier
- See Also:
- Serialized Form
modulus
protected BigInteger modulus
privateExponent
protected BigInteger privateExponent
JCERSAPrivateKey
protected JCERSAPrivateKey()
getModulus
public BigInteger getModulus()
- Specified by:
getModulus
in interface RSAKey
getPrivateExponent
public BigInteger getPrivateExponent()
- Specified by:
getPrivateExponent
in interface RSAPrivateKey
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interface Key
getFormat
public String getFormat()
- Specified by:
getFormat
in interface Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface Key
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
setBagAttribute
public void setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute)
- Specified by:
setBagAttribute
in interface PKCS12BagAttributeCarrier
getBagAttribute
public DEREncodable getBagAttribute(DERObjectIdentifier oid)
- Specified by:
getBagAttribute
in interface PKCS12BagAttributeCarrier
getBagAttributeKeys
public Enumeration getBagAttributeKeys()
- Specified by:
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
Copyright © 2006 Apache Software Foundation. All Rights Reserved.