Uses of Interface java.security.PublicKey

Uses in package java.security

Constructors with parameter type java.security.PublicKey

KeyPair.KeyPair(PublicKey publicKey, PrivateKey privateKey)
Initializes the KeyPair with a pubilc and private key.

Methods with parameter type java.security.PublicKey

void
Initializes this instance with the public key for verification purposes.
Identity
Returns the specified Identity, by public key, within this scope.
void
Initializes this instance with the public key for verification purposes.
void
Sets the public key for this identity.
boolean
SignedObject.verify(PublicKey verificationKey, Signature verificationEngine)
Verifies the encapsulated digital signature by checking that it was generated by the owner of a designated public key.

Methods with return type java.security.PublicKey

PublicKey
Generates a public key from the provided key specification.
PublicKey
Generates a public key from the provided key specification.
PublicKey
Returns the public key stored in the KeyPair
PublicKey
This method returns the public key for the Principal that is being guaranteed.
PublicKey

Uses in package java.security.cert

Constructors with parameter type java.security.PublicKey

PKIXCertPathBuilderResult.PKIXCertPathBuilderResult(CertPath certPath, TrustAnchor trustAnchor, PolicyNode policyTree, PublicKey subjectPublicKey)
Creates a new PKIXCertPathBuilderResult.
Creates a new PKIXCertPathValidatorResult.
TrustAnchor.TrustAnchor(String caName, PublicKey caKey, byte[] nameConstraints)
Create a new trust anchor from a certificate authority's distinguished name, public key, and (optional) name constraints.

Methods with parameter type java.security.PublicKey

void
Sets the subject public key criterion as an opaque representation.
void
Verifies that this Certificate was properly signed with the PublicKey that corresponds to its private key.
void
Verifies that this CRL was properly signed with the PublicKey that corresponds to its private key.
void
Certificate.verify(PublicKey key, String sigProvider)
Verifies that this Certificate was properly signed with the PublicKey that corresponds to its private key and uses the signature engine provided by the provider.
void
X509CRL.verify(PublicKey key, String sigProvider)
Verifies that this CRL was properly signed with the PublicKey that corresponds to its private key and uses the signature engine provided by the provider.

Methods with return type java.security.PublicKey

PublicKey
Return the certificate authority's public key, or null if none was specified.
PublicKey
Returns the public key stored in the Certificate.
PublicKey
Returns the subject public key.
PublicKey
Returns the subject public key criterion, or null if this value is not set.

Uses in package javax.security.cert

Methods with parameter type java.security.PublicKey

void
Verifies the signature of this certificate.
void
Certificate.verify(PublicKey key, String sigProvider)
Verifies the signature of this certificate, using the specified security provider.

Methods with return type java.security.PublicKey

PublicKey
Returns this certificate's public key.