|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.crypto.AbstractPrivateKey
public abstract class AbstractPrivateKey
This class is an abstract implementation of a private key.
| Field Summary |
|---|
| Fields inherited from interface java.security.PrivateKey |
|---|
serialVersionUID |
| Fields inherited from interface anon.util.IXMLEncodable |
|---|
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION |
| Constructor Summary | |
|---|---|
protected |
AbstractPrivateKey()
Creates a new (empty) private key; |
|
AbstractPrivateKey(org.bouncycastle.asn1.pkcs.PrivateKeyInfo a_keyInfo)
Creates a private key from a PrivateKeyInfo. |
| Method Summary | |
|---|---|
byte[] |
getEncoded()
Returns the key in a byte encoded form that is defined be the result of the method getAsPrivateKeyInfo() . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface anon.crypto.IMyPrivateKey |
|---|
createPublicKey, getAsPrivateKeyInfo, getSignatureAlgorithm |
| Methods inherited from interface java.security.Key |
|---|
getAlgorithm, getFormat |
| Methods inherited from interface anon.util.IXMLEncodable |
|---|
toXmlElement |
| Constructor Detail |
|---|
protected AbstractPrivateKey()
public AbstractPrivateKey(org.bouncycastle.asn1.pkcs.PrivateKeyInfo a_keyInfo)
a_keyInfo - a PrivateKeyInfo| Method Detail |
|---|
public final byte[] getEncoded()
getAsPrivateKeyInfo() .
getEncoded in interface java.security.KeyIMyPrivateKey.getAsPrivateKeyInfo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||