Class CmsAlgorithmProtection
- Namespace
- Org.BouncyCastle.Asn1.Cms
- Assembly
- BouncyCastle.Cryptography.dll
public class CmsAlgorithmProtection : Asn1Encodable, IAsn1Convertible
- Inheritance
-
CmsAlgorithmProtection
- Implements
-
- Inherited Members
-
Constructors
CmsAlgorithmProtection(AlgorithmIdentifier, int, AlgorithmIdentifier)
public CmsAlgorithmProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier)
Parameters
digestAlgorithm AlgorithmIdentifier
type int
algorithmIdentifier AlgorithmIdentifier
Fields
Mac
public static readonly int Mac
Field Value
- int
Signature
public static readonly int Signature
Field Value
- int
Properties
DigestAlgorithm
public AlgorithmIdentifier DigestAlgorithm { get; }
Property Value
- AlgorithmIdentifier
MacAlgorithm
public AlgorithmIdentifier MacAlgorithm { get; }
Property Value
- AlgorithmIdentifier
SignatureAlgorithm
public AlgorithmIdentifier SignatureAlgorithm { get; }
Property Value
- AlgorithmIdentifier
Methods
GetInstance(Asn1TaggedObject, bool)
public static CmsAlgorithmProtection GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- CmsAlgorithmProtection
GetInstance(object)
public static CmsAlgorithmProtection GetInstance(object obj)
Parameters
obj object
Returns
- CmsAlgorithmProtection
GetTagged(Asn1TaggedObject, bool)
public static CmsAlgorithmProtection GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObject Asn1TaggedObject
declaredExplicit bool
Returns
- CmsAlgorithmProtection
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
- Asn1Object