public class

JDKGOST3410PrivateKey

extends Object
implements GOST3410PrivateKey PKCS12BagAttributeCarrier
java.lang.Object
   ↳ org.bouncycastle.jce.provider.JDKGOST3410PrivateKey

Summary

[Expand]
Inherited Constants
From interface java.security.Key
From interface java.security.PrivateKey
Protected Constructors
JDKGOST3410PrivateKey()
Public Methods
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)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.Key
From interface org.bouncycastle.jce.interfaces.GOST3410Key
From interface org.bouncycastle.jce.interfaces.GOST3410PrivateKey
From interface org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier

Protected Constructors

protected JDKGOST3410PrivateKey ()

Public Methods

public String getAlgorithm ()

public DEREncodable getBagAttribute (DERObjectIdentifier oid)

public Enumeration getBagAttributeKeys ()

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 ()

public BigInteger getX ()

public void setBagAttribute (DERObjectIdentifier oid, DEREncodable attribute)