public class CompositePublicKey
extends java.lang.Object
implements java.security.PublicKey
Constructor and Description |
---|
CompositePublicKey(java.security.PublicKey... keys)
Create a composite key containing a single public key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
java.util.List<java.security.PublicKey> |
getPublicKeys()
Return a list of the component private keys making up this composite.
|
int |
hashCode() |
public CompositePublicKey(java.security.PublicKey... keys)
keys
- the public keys the composite key wraps.public java.util.List<java.security.PublicKey> getPublicKeys()
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object