org.bouncycastle.jce.provider
public class JDKGOST3410PrivateKey extends java.lang.Object implements GOST3410PrivateKey, PKCS12BagAttributeCarrier
| Modifier | Constructor and Description |
|---|---|
protected |
JDKGOST3410PrivateKey() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
DEREncodable |
getBagAttribute(DERObjectIdentifier oid) |
java.util.Enumeration |
getBagAttributeKeys() |
byte[] |
getEncoded()
Return a PKCS8 representation of the key.
|
java.lang.String |
getFormat()
return the encoding format we produce in getEncoded().
|
GOST3410Params |
getParameters() |
java.math.BigInteger |
getX() |
void |
setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute) |
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic GOST3410Params getParameters()
getParameters in interface GOST3410Keypublic java.math.BigInteger getX()
getX in interface GOST3410PrivateKeypublic void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)
setBagAttribute in interface PKCS12BagAttributeCarrierpublic DEREncodable getBagAttribute(DERObjectIdentifier oid)
getBagAttribute in interface PKCS12BagAttributeCarrierpublic java.util.Enumeration getBagAttributeKeys()
getBagAttributeKeys in interface PKCS12BagAttributeCarrier