|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use InvalidKeyException | |
java.security | Provides the classes and interfaces for the security framework. |
java.security.cert | Provides classes and interfaces for parsing and managing certificates. |
Uses of InvalidKeyException in java.security |
Methods in java.security that throw InvalidKeyException | |
Key |
KeyFactory.translateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
protected abstract void |
SignatureSpi.engineInitVerify(PublicKey publicKey)
Initializes this signature object with the specified public key for verification operations. |
protected abstract void |
SignatureSpi.engineInitSign(PrivateKey privateKey)
Initializes this signature object with the specified private key for signing operations. |
protected void |
SignatureSpi.engineInitSign(PrivateKey privateKey,
SecureRandom random)
Initializes this signature object with the specified private key and source of randomness for signing operations. |
protected abstract Key |
KeyFactorySpi.engineTranslateKey(Key key)
Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this key factory. |
boolean |
SignedObject.verify(PublicKey verificationKey,
Signature verificationEngine)
Verifies that the signature in this SignedObject is the valid signature for the object stored inside, with the given verification key, using the designated verification engine. |
void |
Signature.initVerify(PublicKey publicKey)
Initializes this object for verification. |
void |
Signature.initVerify(Certificate certificate)
Initializes this object for verification, using the public key from the given certificate. |
void |
Signature.initSign(PrivateKey privateKey)
Initialize this object for signing. |
void |
Signature.initSign(PrivateKey privateKey,
SecureRandom random)
Initialize this object for signing. |
Constructors in java.security that throw InvalidKeyException | |
SignedObject(Serializable object,
PrivateKey signingKey,
Signature signingEngine)
Constructs a SignedObject from any Serializable object. |
Uses of InvalidKeyException in java.security.cert |
Methods in java.security.cert that throw InvalidKeyException | |
abstract void |
Certificate.verify(PublicKey key)
Verifies that this certificate was signed using the private key that corresponds to the specified public key. |
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed using the private key that corresponds to the specified public key. |
abstract void |
X509CRL.verify(PublicKey key)
Verifies that this CRL was signed using the private key that corresponds to the given public key. |
abstract void |
X509CRL.verify(PublicKey key,
String sigProvider)
Verifies that this CRL was signed using the private key that corresponds to the given public key. |
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.