public class JDKGOST3410PrivateKey extends Object implements GOST3410PrivateKey, PKCS12BagAttributeCarrier
serialVersionUID
Modifier | Constructor and Description |
---|---|
protected |
JDKGOST3410PrivateKey() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
DEREncodable |
getBagAttribute(DERObjectIdentifier oid) |
Enumeration |
getBagAttributeKeys() |
byte[] |
getEncoded()
Return a PKCS8 representation of the key.
|
String |
getFormat()
return the encoding format we produce in getEncoded().
|
GOST3410Params |
getParameters() |
BigInteger |
getX() |
void |
setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public String getAlgorithm()
getAlgorithm
in interface Key
public String getFormat()
public byte[] getEncoded()
getEncoded
in interface Key
public GOST3410Params getParameters()
getParameters
in interface GOST3410Key
public BigInteger getX()
getX
in interface GOST3410PrivateKey
public void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)
setBagAttribute
in interface PKCS12BagAttributeCarrier
public DEREncodable getBagAttribute(DERObjectIdentifier oid)
getBagAttribute
in interface PKCS12BagAttributeCarrier
public Enumeration getBagAttributeKeys()
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
Copyright © 2015. All rights reserved.