Build 1.0_r1(from source)

java.security.cert
Class TrustAnchor

java.lang.Object
  extended by java.security.cert.TrustAnchor

public class TrustAnchor
extends Object


Constructor Summary
TrustAnchor(String caName, PublicKey caPublicKey, byte[] nameConstraints)
           
TrustAnchor(X500Principal caPrincipal, PublicKey caPublicKey, byte[] nameConstraints)
           
TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints)
           
 
Method Summary
 X500Principal getCA()
           
 String getCAName()
           
 PublicKey getCAPublicKey()
           
 byte[] getNameConstraints()
           
 X509Certificate getTrustedCert()
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrustAnchor

public TrustAnchor(X509Certificate trustedCert,
                   byte[] nameConstraints)

TrustAnchor

public TrustAnchor(String caName,
                   PublicKey caPublicKey,
                   byte[] nameConstraints)

TrustAnchor

public TrustAnchor(X500Principal caPrincipal,
                   PublicKey caPublicKey,
                   byte[] nameConstraints)
Method Detail

getNameConstraints

public final byte[] getNameConstraints()

getTrustedCert

public final X509Certificate getTrustedCert()

getCA

public final X500Principal getCA()

getCAName

public final String getCAName()

getCAPublicKey

public final PublicKey getCAPublicKey()

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature