public abstract class AbstractPublicKey extends java.lang.Object implements IMyPublicKey
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION| Constructor and Description |
|---|
AbstractPublicKey(mybouncycastle.org.bouncycastle.asn1.x509.SubjectPublicKeyInfo a_keyInfo)
Creates a public key from a PrivateKeyInfo.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(java.lang.Object a_publicKey)
This method returns if two public keys have the same public key parameters.
|
byte[] |
getEncoded()
Returns the key in a byte encoded form that is defined to be the result of the method
getAsSubjectPublicKeyInfo() . |
abstract int |
hashCode() |
getClass, notify, notifyAll, toString, wait, wait, waitgetAsSubjectPublicKeyInfo, getKeyLength, getSignatureAlgorithmtoXmlElementpublic AbstractPublicKey(mybouncycastle.org.bouncycastle.asn1.x509.SubjectPublicKeyInfo a_keyInfo)
a_keyInfo - a SubjectPublicKeyInfopublic final byte[] getEncoded()
getAsSubjectPublicKeyInfo() .getEncoded in interface java.security.KeyIMyPublicKey.getAsSubjectPublicKeyInfo()public abstract int hashCode()
hashCode in interface IMyPublicKeyhashCode in class java.lang.ObjectObject.hashCode()public abstract boolean equals(java.lang.Object a_publicKey)
equals in interface IMyPublicKeyequals in class java.lang.Objecta_publicKey - an other public keyCopyright © 2023. All rights reserved.