public class CompositePrivateKey
extends java.lang.Object
implements java.security.PrivateKey
Constructor and Description |
---|
CompositePrivateKey(java.security.PrivateKey... keys)
Create a composite key containing a single private 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.PrivateKey> |
getPrivateKeys()
Return a list of the component private keys making up this composite.
|
int |
hashCode() |
public CompositePrivateKey(java.security.PrivateKey... keys)
keys
- the private keys the composite private key wraps.public java.util.List<java.security.PrivateKey> getPrivateKeys()
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