KeyStore.TrustedCertificateEntry
public
static
final
class
KeyStore.TrustedCertificateEntry
extends Object
implements
KeyStore.Entry
| java.lang.Object | |
| ↳ | java.security.KeyStore.TrustedCertificateEntry |
A KeyStore entry that holds a trusted
Certificate.
Summary
Public constructors | |
|---|---|
KeyStore.TrustedCertificateEntry(Certificate trustedCert)
Constructs a |
|
Public methods | |
|---|---|
Certificate
|
getTrustedCertificate()
Gets the trusted |
String
|
toString()
Returns a string representation of this TrustedCertificateEntry. |
Inherited methods | |
|---|---|
java.lang.Object
| |
Public constructors
KeyStore.TrustedCertificateEntry
KeyStore.TrustedCertificateEntry (Certificate trustedCert)
Constructs a TrustedCertificateEntry with a
trusted Certificate.
| Parameters | |
|---|---|
trustedCert |
Certificate:
the trusted Certificate |
| Throws | |
|---|---|
NullPointerException |
if
trustedCert is null
|
Public methods
getTrustedCertificate
Certificate getTrustedCertificate ()
Gets the trusted Certficate from this entry.
| Returns | |
|---|---|
Certificate |
the trusted Certificate from this entry
|
toString
String toString ()
Returns a string representation of this TrustedCertificateEntry.
| Returns | |
|---|---|
String |
a string representation of this TrustedCertificateEntry. |
Interfaces
Classes
- AccessControlContext
- AccessController
- AlgorithmParameterGenerator
- AlgorithmParameterGeneratorSpi
- AlgorithmParameters
- AlgorithmParametersSpi
- AllPermission
- AuthProvider
- BasicPermission
- CodeSigner
- CodeSource
- DigestInputStream
- DigestOutputStream
- GuardedObject
- Identity
- IdentityScope
- KeyFactory
- KeyFactorySpi
- KeyPair
- KeyPairGenerator
- KeyPairGeneratorSpi
- KeyRep
- KeyStore
- KeyStore.Builder
- KeyStore.CallbackHandlerProtection
- KeyStore.PasswordProtection
- KeyStore.PrivateKeyEntry
- KeyStore.SecretKeyEntry
- KeyStore.TrustedCertificateEntry
- KeyStoreSpi
- MessageDigest
- MessageDigestSpi
- Permission
- PermissionCollection
- Permissions
- Policy
- PolicySpi
- ProtectionDomain
- Provider
- Provider.Service
- SecureClassLoader
- SecureRandom
- SecureRandomSpi
- Security
- SecurityPermission
- Signature
- SignatureSpi
- SignedObject
- Signer
- Timestamp
- UnresolvedPermission
Enums
Exceptions
- AccessControlException
- DigestException
- GeneralSecurityException
- InvalidAlgorithmParameterException
- InvalidKeyException
- InvalidParameterException
- KeyException
- KeyManagementException
- KeyStoreException
- NoSuchAlgorithmException
- NoSuchProviderException
- PrivilegedActionException
- ProviderException
- SignatureException
- UnrecoverableEntryException
- UnrecoverableKeyException

