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 gnu.javax.crypto.jce.sig

Methods with return type java.security.PublicKey

PublicKey
Generates a public key from the provided key specification.

Uses in package gnu.java.security.jce.sig

Methods with return type java.security.PublicKey

PublicKey
PublicKey
PublicKey

Uses in package gnu.java.security.key.dss

Classes implementing java.security.PublicKey

class
An object that embodies a DSS (Digital Signature Standard) public key.

Methods with parameter type java.security.PublicKey

byte[]
byte[]
Returns the encoded form of the designated DSS (Digital Signature Standard) public key according to the Raw format supported by this library.
byte[]
Returns the X.509 ASN.1 SubjectPublicKeyInfo representation of a DSA public key.

Methods with return type java.security.PublicKey

PublicKey
PublicKey
PublicKey

Uses in package gnu.javax.crypto.key.dh

Classes implementing java.security.PublicKey

class
An implementation of the Diffie-Hellman public key.

Methods with parameter type java.security.PublicKey

byte[]
byte[]
Returns the encoded form of the designated Diffie-Hellman public key according to the Raw format supported by this library.
byte[]
Returns the DER-encoded form of the X.509 ASN.1 SubjectPublicKeyInfo representation of a DH public key.

Methods with return type java.security.PublicKey

PublicKey
PublicKey
Decodes an instance of an external public key into its native Java representation.
PublicKey

Uses in package gnu.java.security.x509

Fields of type java.security.PublicKey

PublicKey

Methods with parameter type java.security.PublicKey

void
void
void
void
X509CRL.verify(PublicKey key, String provider)

Methods with return type java.security.PublicKey

PublicKey

Uses in package gnu.javax.net.ssl.provider

Methods with parameter type java.security.PublicKey

@Override

Uses in package gnu.java.security.sig.rsa

Methods with parameter type java.security.PublicKey

BigInteger
An implementation of the RSAEP algorithm.
void
void
BigInteger
An implementation of the RSAVP method: Assuming that the designated RSA public key is a valid one, this method computes a message representative for the designated signature representative generated by an RSA private key, for a message intended for the holder of the designated RSA public key.

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 gnu.java.security.key.rsa

Classes implementing java.security.PublicKey

class
An object that encapsulates an RSA public key.

Methods with parameter type java.security.PublicKey

byte[]
byte[]
Returns the encoded form of the designated RSA public key according to the Raw format supported by this library.
byte[]
Returns the X.509 ASN.1 SubjectPublicKeyInfo representation of an RSA public key.

Methods with return type java.security.PublicKey

PublicKey
PublicKey
Decodes an instance of an external public key into its native Java representation.
PublicKey

Uses in package gnu.javax.crypto.key

Methods with parameter type java.security.PublicKey

void
Encodes a public key into the message.

Methods with return type java.security.PublicKey

PublicKey
Decodes a public key from the message.

Uses in package gnu.javax.crypto.key.srp6

Classes implementing java.security.PublicKey

class
A representation of an SRP ephemeral public key.

Methods with parameter type java.security.PublicKey

byte[]
Returns the encoded form of the designated SRP public key according to the Raw format supported by this library.

Methods with return type java.security.PublicKey

PublicKey
Decodes an instance of an external public key into its native Java representation.

Uses in package gnu.java.security.sig

Fields of type java.security.PublicKey

PublicKey
The public key to use when verifying signatures.

Methods with parameter type java.security.PublicKey

void

Uses in package gnu.javax.crypto.keyring

Constructors with parameter type java.security.PublicKey

PublicKeyEntry.PublicKeyEntry(PublicKey key, Date creationDate, Properties properties)

Methods with parameter type java.security.PublicKey

void
void
Sets a public key entry.

Methods with return type java.security.PublicKey

PublicKey
Returns the public key.
PublicKey
PublicKey
Returns the public key with the given alias, or null if there is no such entry.

Uses in package gnu.java.security.key

Methods with parameter type java.security.PublicKey

byte[]
Encodes an instance of a public key for storage or transmission purposes.

Methods with return type java.security.PublicKey

PublicKey
Decodes an instance of an external public key into its native Java representation.

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.

Uses in package gnu.java.security.sig.dss

Methods with parameter type java.security.PublicKey

void