Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlgorithmIdentifier ¶
type AlgorithmIdentifier struct {
ID asn1.ObjectIdentifier
}
type IssuerAndSerialNumber ¶
type SignedData ¶
type SignedData struct {
Version version
DigestAlgorithms digestAlgorithmIdentifiers `asn1:"set"`
ContentInfo contentInfo //data oid: 1.2.840.113549.1.7.1
Certificate asn1.RawValue `asn1:"optional,explicit,tag:0"`
SignerInfos signerInfos `asn1:"set"`
}
why the field Certificate is not Certificates(set) ? process Certificate in functions Ignore crls(CertificateRevocationLists), hsh 2017.11.15
type SignedDataObject ¶
type SignedDataObject struct {
ID asn1.ObjectIdentifier //signedData oid: 1.2.840.113549.1.7.2
SignedData SignedData `asn1:"explicit,tag:0"`
}
type SignerOption ¶ added in v1.1.0
type SignerOption func(*Signer)
func WithFs ¶ added in v1.1.0
func WithFs(fs afero.Fs) SignerOption
Click to show internal directories.
Click to hide internal directories.