Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlgorithmIdentifier ¶
type AlgorithmIdentifier struct { Algorithm asn1.ObjectIdentifier Parameters asn1.RawValue `asn1:"optional"` }
type DSAPrivateKey ¶
type DSAPublicKey ¶
type ECCurve ¶
type ECCurve struct { A FieldElement B FieldElement Seed asn1.BitString `asn1:"optional"` }
type ECParameters ¶
type ECParameters struct { Version int FieldId FieldId Curve ECCurve Base FieldElement Order *big.Int Cofactor int `asn1:"optional"` Hash asn1.ObjectIdentifier `asn1:"optional"` }
type ECPrivateKey ¶
type ECPrivateKey struct { Version int PrivateKey []byte NamedCurveOID asn1.ObjectIdentifier `asn1:"optional,explicit,tag:0"` Params ECParameters `asn1:"optional,explicit,tag:0"` PublicKey asn1.BitString `asn1:"optional,explicit,tag:1"` }
type FieldElement ¶
type FieldElement []byte
type PKCS1AdditionalRSAPrime ¶
type PKCS1PrivateKey ¶
type PKCS1PublicKey ¶
type PKCS8PrivateKey ¶
type PKCS8PrivateKey struct { Version int Algorithm AlgorithmIdentifier PrivateKey []byte }
type PKIXPublicKey ¶
type PKIXPublicKey struct { Algorithm AlgorithmIdentifier PublicKey asn1.BitString }
Click to show internal directories.
Click to hide internal directories.