Bouncy Castle Cryptography Library 1.32 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.bouncycastle.jce.provider.JDKGOST3410PrivateKey
public class JDKGOST3410PrivateKey
extends java.lang.Object
implements GOST3410PrivateKey, PKCS12BagAttributeCarrier
Constructor Summary | |
Method Summary | |
String | |
DEREncodable | |
Enumeration | |
byte[] |
|
String |
|
GOST3410Params | |
BigInteger |
|
void |
|
public String getAlgorithm()
public DEREncodable getBagAttribute(DERObjectIdentifier oid)
- Specified by:
- getBagAttribute in interface PKCS12BagAttributeCarrier
public Enumeration getBagAttributeKeys()
- Specified by:
- getBagAttributeKeys in interface PKCS12BagAttributeCarrier
public byte[] getEncoded()
Return a PKCS8 representation of the key. The sequence returned represents a full PrivateKeyInfo object.
- Returns:
- a PKCS8 representation of the key.
public String getFormat()
return the encoding format we produce in getEncoded().
- Returns:
- the string "PKCS#8"
public GOST3410Params getParameters()
- Specified by:
- getParameters in interface GOST3410Key
public void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)
- Specified by:
- setBagAttribute in interface PKCS12BagAttributeCarrier