public class CompositePrivateKey extends Object implements PrivateKey
serialVersionUID
Constructor and Description |
---|
CompositePrivateKey(PrivateKey... keys)
Create a composite key containing a single private key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
List<PrivateKey> |
getPrivateKeys()
Return a list of the component private keys making up this composite.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public CompositePrivateKey(PrivateKey... keys)
keys
- the private keys the composite private key wraps.public List<PrivateKey> getPrivateKeys()
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
Copyright © 2021 BouncyCastle.org. All rights reserved.