public TrustAnchor(
X509Name caPrincipal,
AsymmetricKeyParameter pubKey,
byte[] nameConstraints
)
Public Sub New (
caPrincipal As X509Name,
pubKey As AsymmetricKeyParameter,
nameConstraints As Byte()
)
public:
TrustAnchor(
X509Name^ caPrincipal,
AsymmetricKeyParameter^ pubKey,
array<unsigned char>^ nameConstraints
)
Org.BouncyCastle.Pkix.TrustAnchor = function(caPrincipal, pubKey, nameConstraints);
Name constraints are an optional parameter, and are intended to be used as additional constraints when validating an X.509 certification path.
The name constraints are specified as a byte array. This byte array contains the DER encoded form of the name constraints, as they would appear in the NameConstraints structure defined in RFC 2459 and X.509. The ASN.1 notation for this structure is supplied in the documentation for the other constructors.
Note that the name constraints byte array supplied here is cloned to protect against subsequent modifications.
ArgumentNullException | if caPrincipal or pubKey is null |