Class ECPrivateKeyDecoder
java.lang.Object
tigase.cert.ECPrivateKeyDecoder
Class to decode EC private key from raw bytes as defined in SEC 1 ASN.1 structure
RFC5915
ECParameters, NamedCurve
FROM PKIXAlgs-2009
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-pkix1-algorithms2008-02(56) }
ECPrivateKey ::= SEQUENCE {
version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
privateKey OCTET STRING,
parameters [0] ECParameters {{ NamedCurve }} OPTIONAL,
publicKey [1] BIT STRING OPTIONAL
}
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ECPrivateKeyDecoder
public ECPrivateKeyDecoder(byte[] rawPrivateKeyBytes) -
ECPrivateKeyDecoder
-
-
Method Details
-
getPrivateKey
-