Uses of Interface
java.security.PrivateKey
-
Uses of PrivateKey in java.security
Methods in java.security that return PrivateKey Modifier and Type Method Description protected abstract PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)Generates a instance ofPrivateKeyfrom the given key specification.PrivateKeyKeyFactory. generatePrivate(KeySpec keySpec)Generates a instance ofPrivateKeyfrom the given key specification.PrivateKeyKeyPair. getPrivate()Returns the private key.PrivateKeyKeyStore.PrivateKeyEntry. getPrivateKey()Returns the private key.PrivateKeySigner. getPrivateKey()Deprecated.Returns the private key of thisSigner.Methods in java.security with parameters of type PrivateKey Modifier and Type Method Description protected abstract voidSignatureSpi. engineInitSign(PrivateKey privateKey)Initializes thisSignatureSpiinstance for signing, using the private key of the identity whose signature is going to be generated.protected voidSignatureSpi. engineInitSign(PrivateKey privateKey, SecureRandom random)Initializes thisSignatureSpiinstance for signing, using the private key of the identity whose signature is going to be generated and the specified source of randomness.voidSignature. initSign(PrivateKey privateKey)Initializes thisSignatureinstance for signing, using the private key of the identity whose signature is going to be generated.voidSignature. initSign(PrivateKey privateKey, SecureRandom random)Initializes thisSignatureinstance for signing, using the private key of the identity whose signature is going to be generated and the specified source of randomness.Constructors in java.security with parameters of type PrivateKey Constructor Description KeyPair(PublicKey publicKey, PrivateKey privateKey)Constructs a new instance ofKeyPairwith a public key and the corresponding private key.PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)Constructs a new instance ofPrivateKeyEntrywith the givenPrivateKeyand the provided certificate chain.SignedObject(Serializable object, PrivateKey signingKey, Signature signingEngine)Constructs a new instance ofSignedObjectwith the target object, the private key and the engine to compute the signature. -
Uses of PrivateKey in java.security.interfaces
Subinterfaces of PrivateKey in java.security.interfaces Modifier and Type Interface Description interfaceDSAPrivateKeyThe interface for a Digital Signature Algorithm (DSA) private key.interfaceECPrivateKeyThe interface for an Elliptic Curve (EC) private key.interfaceRSAMultiPrimePrivateCrtKeyThe interface for a Multi-Prime RSA private key.interfaceRSAPrivateCrtKeyThe interface for a PKCS#1 RSA private key using CRT information values.interfaceRSAPrivateKeyThe interface for an PKCS#1 RSA private key. -
Uses of PrivateKey in javax.crypto.interfaces
Subinterfaces of PrivateKey in javax.crypto.interfaces Modifier and Type Interface Description interfaceDHPrivateKeyThe interface for a private key in the Diffie-Hellman key exchange protocol. -
Uses of PrivateKey in javax.net.ssl
Methods in javax.net.ssl that return PrivateKey Modifier and Type Method Description PrivateKeyX509KeyManager. getPrivateKey(String alias)Returns the private key for the specified alias. -
Uses of PrivateKey in org.apache.harmony.security
Classes in org.apache.harmony.security that implement PrivateKey Modifier and Type Class Description classPrivateKeyImplPrivateKeyImpl -
Uses of PrivateKey in org.apache.harmony.security.provider.crypto
Classes in org.apache.harmony.security.provider.crypto that implement PrivateKey Modifier and Type Class Description classDSAPrivateKeyImplThe class provides DSAPrivateKey functionality by extending a class implementing PrivateKey and implementing methods defined in both interfaces, DSAKey and DSAPrivateKeyMethods in org.apache.harmony.security.provider.crypto that return PrivateKey Modifier and Type Method Description protected PrivateKeyDSAKeyFactoryImpl. engineGeneratePrivate(KeySpec keySpec)This method generates a DSAPrivateKey object from the provided key specification.Methods in org.apache.harmony.security.provider.crypto with parameters of type PrivateKey Modifier and Type Method Description protected voidSHA1withDSA_SignatureImpl. engineInitSign(PrivateKey privateKey)Initializes this signature object with PrivateKey object passed as argument to the method. -
Uses of PrivateKey in org.bouncycastle.cms
Methods in org.bouncycastle.cms with parameters of type PrivateKey Modifier and Type Method Description voidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String encryptionOID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String encryptionOID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String encryptionOID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, byte[] subjectKeyID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String encryptionOID, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID, AttributeTable signedAttr, AttributeTable unsignedAttr)Deprecated.use addSignerInfoGeneratorvoidCMSSignedDataGenerator. addSigner(PrivateKey key, X509Certificate cert, String digestOID, CMSAttributeTableGenerator signedAttrGen, CMSAttributeTableGenerator unsignedAttrGen)Deprecated.use addSignerInfoGeneratorprotected StringCMSSignedGenerator. getEncOID(PrivateKey key, String digestOID) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.asymmetric.dh
Classes in org.bouncycastle.jcajce.provider.asymmetric.dh that implement PrivateKey Modifier and Type Class Description classBCDHPrivateKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.dh that return PrivateKey Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)PrivateKeyKeyFactorySpi. generatePrivate(PrivateKeyInfo keyInfo) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.asymmetric.dsa
Classes in org.bouncycastle.jcajce.provider.asymmetric.dsa that implement PrivateKey Modifier and Type Class Description classBCDSAPrivateKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.dsa that return PrivateKey Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)PrivateKeyKeyFactorySpi. generatePrivate(PrivateKeyInfo keyInfo)Methods in org.bouncycastle.jcajce.provider.asymmetric.dsa with parameters of type PrivateKey Modifier and Type Method Description protected voidDSASigner. engineInitSign(PrivateKey privateKey)protected voidDSASigner. engineInitSign(PrivateKey privateKey, SecureRandom random)static AsymmetricKeyParameterDSAUtil. generatePrivateKeyParameter(PrivateKey key) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.asymmetric.ec
Classes in org.bouncycastle.jcajce.provider.asymmetric.ec that implement PrivateKey Modifier and Type Class Description classBCECPrivateKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.ec that return PrivateKey Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)PrivateKeyKeyFactorySpi. generatePrivate(PrivateKeyInfo keyInfo)Methods in org.bouncycastle.jcajce.provider.asymmetric.ec with parameters of type PrivateKey Modifier and Type Method Description protected voidSignatureSpi. engineInitSign(PrivateKey privateKey) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.asymmetric.rsa
Classes in org.bouncycastle.jcajce.provider.asymmetric.rsa that implement PrivateKey Modifier and Type Class Description classBCRSAPrivateCrtKeyA provider representation for a RSA private key, with CRT factors included.classBCRSAPrivateKeyMethods in org.bouncycastle.jcajce.provider.asymmetric.rsa that return PrivateKey Modifier and Type Method Description protected PrivateKeyKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)PrivateKeyKeyFactorySpi. generatePrivate(PrivateKeyInfo keyInfo)Methods in org.bouncycastle.jcajce.provider.asymmetric.rsa with parameters of type PrivateKey Modifier and Type Method Description protected voidDigestSignatureSpi. engineInitSign(PrivateKey privateKey) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.asymmetric.util
Methods in org.bouncycastle.jcajce.provider.asymmetric.util that return PrivateKey Modifier and Type Method Description protected PrivateKeyBaseKeyFactorySpi. engineGeneratePrivate(KeySpec keySpec)Methods in org.bouncycastle.jcajce.provider.asymmetric.util with parameters of type PrivateKey Modifier and Type Method Description static AsymmetricKeyParameterDHUtil. generatePrivateKeyParameter(PrivateKey key)static AsymmetricKeyParameterECUtil. generatePrivateKeyParameter(PrivateKey key) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.asymmetric.x509
Methods in org.bouncycastle.jcajce.provider.asymmetric.x509 that return PrivateKey Modifier and Type Method Description protected PrivateKeyKeyFactory. engineGeneratePrivate(KeySpec keySpec) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.keystore.pkcs12
Methods in org.bouncycastle.jcajce.provider.keystore.pkcs12 that return PrivateKey Modifier and Type Method Description protected PrivateKeyPKCS12KeyStoreSpi. unwrapKey(AlgorithmIdentifier algId, byte[] data, char[] password, boolean wrongPKCS12Zero) -
Uses of PrivateKey in org.bouncycastle.jcajce.provider.util
Methods in org.bouncycastle.jcajce.provider.util that return PrivateKey Modifier and Type Method Description PrivateKeyAsymmetricKeyInfoConverter. generatePrivate(PrivateKeyInfo keyInfo) -
Uses of PrivateKey in org.bouncycastle.jce
Constructors in org.bouncycastle.jce with parameters of type PrivateKey Constructor Description PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X500Principal subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey)Deprecated.create a PKCS10 certfication request using the BC provider.PKCS10CertificationRequest(String signatureAlgorithm, X509Name subject, PublicKey key, ASN1Set attributes, PrivateKey signingKey, String provider)Deprecated.create a PKCS10 certfication request using the named provider. -
Uses of PrivateKey in org.bouncycastle.jce.interfaces
Subinterfaces of PrivateKey in org.bouncycastle.jce.interfaces Modifier and Type Interface Description interfaceECPrivateKeyinterface for Elliptic Curve Private keys. -
Uses of PrivateKey in org.bouncycastle.jce.netscape
Methods in org.bouncycastle.jce.netscape with parameters of type PrivateKey Modifier and Type Method Description voidNetscapeCertRequest. sign(PrivateKey priv_key)voidNetscapeCertRequest. sign(PrivateKey priv_key, SecureRandom rand) -
Uses of PrivateKey in org.bouncycastle.jce.provider
Classes in org.bouncycastle.jce.provider that implement PrivateKey Modifier and Type Class Description classJCEDHPrivateKeyclassJCEECPrivateKeyclassJCERSAPrivateCrtKeyA provider representation for a RSA private key, with CRT factors included.classJCERSAPrivateKeyclassJDKDSAPrivateKeyMethods in org.bouncycastle.jce.provider that return PrivateKey Modifier and Type Method Description static PrivateKeyBouncyCastleProvider. getPrivateKey(PrivateKeyInfo privateKeyInfo)Methods in org.bouncycastle.jce.provider with parameters of type PrivateKey Modifier and Type Method Description static AsymmetricKeyParameterDHUtil. generatePrivateKeyParameter(PrivateKey key) -
Uses of PrivateKey in org.bouncycastle.operator.jcajce
Methods in org.bouncycastle.operator.jcajce with parameters of type PrivateKey Modifier and Type Method Description ContentSignerJcaContentSignerBuilder. build(PrivateKey privateKey) -
Uses of PrivateKey in org.bouncycastle.x509
Methods in org.bouncycastle.x509 with parameters of type PrivateKey Modifier and Type Method Description X509CertificateX509V1CertificateGenerator. generate(PrivateKey key)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider.X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generate(PrivateKey key, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider and the passed in source of randomnessX509CertificateX509V3CertificateGenerator. generate(PrivateKey key)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, String provider, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing and the supplied source of randomness, if required.X509CertificateX509V3CertificateGenerator. generate(PrivateKey key, SecureRandom random)Deprecated.generate an X509 certificate, based on the current issuer and subject using the default provider, and the passed in source of randomness (if required).X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key)Deprecated.use generate(key, "BC")X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V1CertificateGenerator. generateX509Certificate(PrivateKey key, SecureRandom random)Deprecated.use generate(key, random, "BC")X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key)Deprecated.use generate(key, "BC")X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, String provider, SecureRandom random)Deprecated.use generate()X509CertificateX509V3CertificateGenerator. generateX509Certificate(PrivateKey key, SecureRandom random)Deprecated.use generate(key, random, "BC") -
Uses of PrivateKey in org.conscrypt
Classes in org.conscrypt that implement PrivateKey Modifier and Type Class Description classOpenSSLDSAPrivateKeyclassOpenSSLECPrivateKeyclassOpenSSLRSAPrivateCrtKeyclassOpenSSLRSAPrivateKeyMethods in org.conscrypt that return PrivateKey Modifier and Type Method Description protected PrivateKeyOpenSSLDSAKeyFactory. engineGeneratePrivate(KeySpec keySpec)protected PrivateKeyOpenSSLECKeyFactory. engineGeneratePrivate(KeySpec keySpec)protected PrivateKeyOpenSSLRSAKeyFactory. engineGeneratePrivate(KeySpec keySpec)PrivateKeyKeyManagerImpl. getPrivateKey(String alias)PrivateKeyOpenSSLKey. getPrivateKey()PrivateKeyOpenSSLEngine. getPrivateKeyById(String id)Methods in org.conscrypt with parameters of type PrivateKey Modifier and Type Method Description protected voidOpenSSLSignature. engineInitSign(PrivateKey privateKey)protected voidOpenSSLSignatureRawRSA. engineInitSign(PrivateKey privateKey)static OpenSSLKeyOpenSSLKey. fromPrivateKey(PrivateKey key)voidDigitalSignature. init(PrivateKey key)Initiate Signature type by private keyvoidOpenSSLSocketImpl. setChannelIdPrivateKey(PrivateKey privateKey)Sets thePrivateKeyto be used for TLS Channel ID by this client socket.