Skip to content

Tag Archives: Java-KeyStore

The isCertificateEntry() method of java.security.KeyStore class is used to check if the specified Certificate entry is present in this KeyStore instance. It returns a boolean… Read More
The getProvider() method of java.security.KeyStore class is used to get the Provider associated with this KeyStore instance. Syntax: public final Provider getProvider() Parameter: This method… Read More
The getCertificateAlias() method of java.security.KeyStore class is used to get name of the first KeyStore entry which has the specified Certificate. Syntax: public final String… Read More
The getType() method of java.security.KeyStore class is used to get the type of this keystore. Syntax: public final String getType() Parameter: This method accepts nothing… Read More
The isKeyEntry() method of java.security.KeyStore class is used to check if the particular specified key entry is present. It returns a boolean value stating the… Read More
The getEntry() method of java.security.KeyStore class is used to get the keystore entry for this instance with the help of the specified alias and the… Read More
The getKey() method of java.security.KeyStore class is used to get the key associated with the given alias, using the given password to recover it. Syntax:… Read More
The getDefaultType() method of java.security.KeyStore class is used to provide the default instance of Keystore class. Syntax: public static final String getDefaultType() Parameter: This method… Read More
The getCreationDate() method of java.security.KeyStore class is used to get the date of creation of the specified entry with the help of the specified alias… Read More
The aliases() method of java.security.KeyStore class provides alias name associated with this keystore object. Syntax: public final Enumeration aliases() throws KeyStoreException Return Value: This method… Read More
The getCertificateChain() method of java.security.KeyStore class is used to provide the certificate chain for the requested alias. . Syntax: public final Certificate[] getCertificateChain(String alias) throws… Read More
The containsAlias() method of java.security.KeyStore class is used to check the presence of the requested alies. Syntax: public final boolean containsAlias(String alias) throws KeyStoreException Parameter:… Read More
The getCertificate() method of java.security.KeyStore class is used to provide the certificate for the requested alias. . Syntax: public final Certificate getCertificate(String alias) throws KeyStoreException… Read More
The deleteEntry(String alias) method of java.security.KeyStore class is used to remove the entry for requested alias name. Syntax: public final void deleteEntry(String alias) throws KeyStoreException… Read More