Package org.bouncycastle.jcajce
Class CompositePublicKey
java.lang.Object
org.bouncycastle.jcajce.CompositePublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
A composite key class.
- See Also:
-
Field Summary
Fields inherited from interface java.security.PublicKey
serialVersionUID
-
Constructor Summary
ConstructorsConstructorDescriptionCompositePublicKey
(PublicKey... keys) Create a composite key containing a single public key. -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
Return a list of the component private keys making up this composite.int
hashCode()
-
Constructor Details
-
CompositePublicKey
Create a composite key containing a single public key.- Parameters:
keys
- the public keys the composite key wraps.
-
-
Method Details
-
getPublicKeys
Return a list of the component private keys making up this composite.- Returns:
- an immutable list of private keys.
-
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
hashCode
public int hashCode() -
equals
-