Table of Contents

Class TrustAnchor

Namespace
Java.Security.Cert
Assembly
MASES.JNet.dll
public class TrustAnchor : JVMBridgeBase<TrustAnchor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
TrustAnchor
Implements
Extension Methods

Constructors

TrustAnchor(String, PublicKey, byte[])

public TrustAnchor(String arg0, PublicKey arg1, byte[] arg2)

Parameters

arg0 String

String

arg1 PublicKey

PublicKey

arg2 byte[]

byte

TrustAnchor(X509Certificate, byte[])

public TrustAnchor(X509Certificate arg0, byte[] arg1)

Parameters

arg0 X509Certificate

X509Certificate

arg1 byte[]

byte

TrustAnchor(X500Principal, PublicKey, byte[])

public TrustAnchor(X500Principal arg0, PublicKey arg1, byte[] arg2)

Parameters

arg0 X500Principal

X500Principal

arg1 PublicKey

PublicKey

arg2 byte[]

byte

TrustAnchor(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TrustAnchor(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CA

public X500Principal CA { get; }

Property Value

X500Principal

CAName

public String CAName { get; }

Property Value

String

CAPublicKey

public PublicKey CAPublicKey { get; }

Property Value

PublicKey

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

NameConstraints

public byte[] NameConstraints { get; }

Property Value

byte[]

TrustedCert

public X509Certificate TrustedCert { get; }

Property Value

X509Certificate

Methods

CreatePoolableInstance(String, PublicKey, byte[])

HPA initializer for TrustAnchor(Java.Lang.String arg0, Java.Security.PublicKey arg1, byte[] arg2)

public static TrustAnchor CreatePoolableInstance(String arg0, PublicKey arg1, byte[] arg2)

Parameters

arg0 String
arg1 PublicKey
arg2 byte[]

Returns

TrustAnchor

CreatePoolableInstance(X509Certificate, byte[])

HPA initializer for TrustAnchor(Java.Security.Cert.X509Certificate arg0, byte[] arg1)

public static TrustAnchor CreatePoolableInstance(X509Certificate arg0, byte[] arg1)

Parameters

arg0 X509Certificate
arg1 byte[]

Returns

TrustAnchor

CreatePoolableInstance(X500Principal, PublicKey, byte[])

HPA initializer for TrustAnchor(Javax.Security.Auth.X500.X500Principal arg0, Java.Security.PublicKey arg1, byte[] arg2)

public static TrustAnchor CreatePoolableInstance(X500Principal arg0, PublicKey arg1, byte[] arg2)

Parameters

arg0 X500Principal
arg1 PublicKey
arg2 byte[]

Returns

TrustAnchor