Uses of Interface java.security.Certificate

Uses in package java.security

Methods with parameter type java.security.Certificate

void
Adds a certificate for this identity.
String
Determines if the keystore contains the specified certificate entry and returns the alias.
void
Assign the certificate to the alias in the keystore.
void
KeyStoreSpi.engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
Assign the key to the alias in the keystore.
void
KeyStoreSpi.engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
Assign the key to the alias in the keystore, protecting it with the given password.
void
Removes a certificate from this identity.

First, if there is a security manager, its checkSecurityAccess() method is called with "removeIdentityCertificate" as its argument to see if it's ok to remove a certificate.

void
Assign the certificate to the alias in the keystore.
void
KeyStore.setKeyEntry(String alias, byte[] key, Certificate[] chain)
Assign the key to the alias in the keystore.
void
KeyStore.setKeyEntry(String alias, Key key, char[] password, Certificate[] chain)
Assign the key to the alias in the keystore, protecting it with the given password.

Methods with return type java.security.Certificate

Certificate[]
Returns a copy of all the certificates for this identity.