Uses of Class java.security.cert.Certificate

Uses in package java.security

Constructors with parameter type java.security.cert.Certificate

CodeSource.CodeSource(URL location, Certificate[] certs)
This creates a new instance of CodeSource that loads code from the specified URL location and which uses the specified certificates for verifying signatures.
Create a new instance with all the information necessary to resolve it to an instance of the proper class at a future time.

Methods with parameter type java.security.cert.Certificate

String
Determines if the keystore contains the specified certificate entry and returns the alias.
void
Verify a signature with a designated Certificate.

Methods with return type java.security.cert.Certificate

Certificate
Gets a Certificate for the specified alias.
Certificate[]
Gets a Certificate chain for the specified alias.
Certificate
Gets a Certificate for the specified alias.
Certificate[]
Gets a Certificate chain for the specified alias.
Certificate[]
This method returns the list of digital certificates that can be used to verify the signatures of code loaded under this CodeSource.
Certificate[]
Return the certificates of the unresolved permission.

Uses in package gnu.java.security.x509

Classes derived from java.security.cert.Certificate

class
An implementation of X.509 certificates.

Methods with parameter type java.security.cert.Certificate

boolean
boolean

Uses in package gnu.java.net.loader

Methods with return type java.security.cert.Certificate

Certificate[]
Returns Certificates associated with this resource, or null when there are none.
Certificate[]
Returns Certificates associated with this resource, or null when there are none.

Uses in package java.security.cert

Classes derived from java.security.cert.Certificate

class
X509Certificate is the abstract class for X.509 certificates.

Methods with parameter type java.security.cert.Certificate

void
PKIXCertPathChecker.check(Certificate cert, Collection unresolvedCritExts)
Checks a certificate, removing any critical extensions that are resolved in this check.
boolean
Determines whether or not the specified Certificate is revoked.
boolean
Match a certificate according to this selector's criteria.
boolean
Match a certificate.

Methods with return type java.security.cert.Certificate

Certificate
Generates a Certificate based on the encoded data read from the InputStream.
Certificate
Generates a Certificate from the encoded data read from an InputStream.

Uses in package gnu.java.net.protocol.http

Methods with return type java.security.cert.Certificate

Certificate[]
Certificate[]

Uses in package gnu.java.security.pkcs

Constructors with parameter type java.security.cert.Certificate

PKCS7SignedData.PKCS7SignedData(Set<E> digestAlgorithms, PKCS7Data data, Certificate[] certificates, X509CRL[] crls, Set<E> signerInfos)
Constructs a new instance of PKCS7SignedData given a designated set of fields.

Methods with return type java.security.cert.Certificate

Certificate[]

Uses in package java.net

Methods with return type java.security.cert.Certificate

Certificate[]
Returns an array of Certificate objects for the jar file entry specified by this URL or null if there are none

Uses in package gnu.java.security.provider

Methods with return type java.security.cert.Certificate

Certificate
Generates a Certificate based on the encoded data read from the InputStream.

Uses in package gnu.javax.crypto.jce.keyring

Methods with parameter type java.security.cert.Certificate

String
void
void
GnuKeyring.engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
void
GnuKeyring.engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)

Methods with return type java.security.cert.Certificate

Certificate
Gets a Certificate for the specified alias.
Certificate[]
Gets a Certificate chain for the specified alias.

Uses in package gnu.javax.net.ssl

Fields of type java.security.cert.Certificate

Certificate[]
Certificate[]

Methods with return type java.security.cert.Certificate

Certificate[]
Returns the chain of certificates that the local side used in the handshake, or null if none were used.
Certificate[]
Returns the chain of certificates that the remote side used in the handshake, or null if none were used.

Uses in package javax.crypto

Methods with parameter type java.security.cert.Certificate

void
Cipher.init(int opmode, Certificate certificate)
Initialize this cipher with the public key from the given certificate.

The cipher will be initialized for encryption, decryption, key wrapping, or key unwrapping, depending upon whether the opmode argument is ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE, or UNWRAP_MODE, respectively.

As per the Java 1.4 specification, if cert is an instance of an X509Certificate and its key usage extension field is incompatible with opmode then an InvalidKeyException is thrown.

If this cipher requires any random bytes (for example for an initilization vector) than the SecureRandom with the highest priority is used as the source of these bytes.

A call to any of the init methods overrides the state of the instance, and is equivalent to creating a new instance and calling its init method.

void
Cipher.init(int opmode, Certificate certificate, SecureRandom random)
Initialize this cipher with the public key from the given certificate and the specified source of randomness.

The cipher will be initialized for encryption, decryption, key wrapping, or key unwrapping, depending upon whether the opmode argument is ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE, or UNWRAP_MODE, respectively.

As per the Java 1.4 specification, if cert is an instance of an X509Certificate and its key usage extension field is incompatible with opmode then an InvalidKeyException is thrown.

If this cipher requires any random bytes (for example for an initilization vector) than the SecureRandom with the highest priority is used as the source of these bytes.

A call to any of the init methods overrides the state of the instance, and is equivalent to creating a new instance and calling its init method.

Uses in package gnu.javax.security.auth.callback

Constructors with parameter type java.security.cert.Certificate

Fields of type java.security.cert.Certificate

Certificate

Uses in package gnu.javax.crypto.keyring

Constructors with parameter type java.security.cert.Certificate

CertPathEntry.CertPathEntry(Certificate[] path, Date creationDate, Properties properties)
CertificateEntry.CertificateEntry(Certificate certificate, Date creationDate, Properties properties)
Creates a new certificate entry.

Methods with parameter type java.security.cert.Certificate

void
void
Sets a certificate path entry.
void
void
Adds a certificate in this keyring, with the given alias.

Methods with return type java.security.cert.Certificate

Certificate[]
Certificate[]
Certificate[]
Returns the certificate path with the given alias, or null if there is no such entry.
Certificate
Returns this entry's certificate.
Certificate
Certificate
Returns a certificate that has the given alias, or null if this keyring has no such entry.

Uses in package javax.net.ssl

Methods with return type java.security.cert.Certificate

Certificate[]
Returns the local certificates being used in this connection.
Certificate[]
Returns the certificates used on the local side in this connection.
Certificate[]
Returns the chain of certificates that the local side used in the handshake, or null if none were used.
Certificate[]
Returns the peer's certificates being used in this connection.
Certificate[]
Returns the chain of certificates that the remote side used in the handshake, or null if none were used.
Certificate[]
Returns the certificates sent by the other party.

Uses in package java.util.jar

Methods with return type java.security.cert.Certificate

Certificate[]
Returns a copy of the certificates set for this entry.