Uses of Class
iaik.asn1.structures.AlgorithmID

Packages that use AlgorithmID
com.entrust.toolkit Contains classes for user mangement tasks and for PKCS #7 encode and decode operations. 
com.entrust.toolkit.asn1.structures Contains clases used to parse ASN.1 structures. 
iaik.asn1.structures   
iaik.pkcs.pkcs10   
iaik.pkcs.pkcs12   
iaik.pkcs.pkcs7   
iaik.pkcs.pkcs8   
iaik.security.rsa   
iaik.utils   
iaik.x509   
 

Uses of AlgorithmID in com.entrust.toolkit
 

Methods in com.entrust.toolkit that return AlgorithmID
 AlgorithmID CertificateSelector.getAlgorithm()
          Returns the certified key's algorithm.
 AlgorithmID PKCS7EncodeStream.getDigestAlgorithm()
           Returns the message digest algorithm used to sign the data.
 AlgorithmID PKCS7EncodeStream.getEncryptionAlgorithm()
           Returns the algorithm used to encrypt the data.
 AlgorithmID PKCS7DecodeStream.getEncryptionAlgorithm()
           Returns the algorithm used to encrypt the data.
 AlgorithmID PKCS7DecodeStream.getDigestAlgorithm(int index)
           Returns the message digest algorithm used to sign the data.
 

Methods in com.entrust.toolkit with parameters of type AlgorithmID
 void CertificateSelector.setAlgorithm(AlgorithmID alg)
          Specifies the algorithm of the certified key.
 void PKCS7EncodeStream.setDigestAlgorithm(AlgorithmID digest)
           Specifies the message digest algorithm to use for signing the data.
 void PKCS7EncodeStream.setEncryptionAlgorithm(AlgorithmID encrypt)
           Specifies the encryption algorithm to use if the data is to be encrypted.
 

Uses of AlgorithmID in com.entrust.toolkit.asn1.structures
 

Subclasses of AlgorithmID in com.entrust.toolkit.asn1.structures
 class AlgorithmIdentifier
          This class represents a PKIX full certificate template, which basically contains an (incomplete) X.509 certificate, and then a series of optional information related to it, such as archiving options and proof of possession of private keys.
 

Methods in com.entrust.toolkit.asn1.structures that return AlgorithmID
 AlgorithmID PKIHeader.getProtectionAlg()
          This method returns the protection algorithm associated with the PKIHeader.
 AlgorithmID SubjectPublicKeyInfo.getAlgorithm()
           
 AlgorithmID CertTemplateCMP.getSigningAlgorithm()
           
 

Methods in com.entrust.toolkit.asn1.structures with parameters of type AlgorithmID
 void PKIHeader.setProtectionAlg(AlgorithmID protectionAlg)
          This method sets the protection algorithm field in the header.
 void SubjectPublicKeyInfo.setAlgorithm(AlgorithmID algorithm)
           
 void CertTemplateCMP.setSigningAlgorithm(AlgorithmID signingAlg)
           
 

Constructors in com.entrust.toolkit.asn1.structures with parameters of type AlgorithmID
PKIHeader.PKIHeader(int pvno, GeneralName sender, GeneralName recipient, GeneralizedTime messageTime, AlgorithmID protectionAlg, ASN1Object senderKID, ASN1Object recipKID, OCTET_STRING transactionID, OCTET_STRING senderNonce, OCTET_STRING recipNonce)
          This constructor, given all of the information that can be included, creates a PKIHeader object.
AlgorithmIdentifier.AlgorithmIdentifier(AlgorithmID algorithmID)
           
 

Uses of AlgorithmID in iaik.asn1.structures
 

Fields in iaik.asn1.structures declared as AlgorithmID
static AlgorithmID AlgorithmID.dhKeyAgreement
          Creates an AlgorithmID for the Diffie-Hellman key exchange algorithm.
static AlgorithmID AlgorithmID.rsaEncryption
          Creates an AlgorithmID for the RSA encryption signature algorithm.
static AlgorithmID AlgorithmID.rsaESOAEP
          Creates an AlgorithmID for the RSA encryption signature algorithm, using the OAEP encoding scheme defined in PKCS-1 v2.0 ObjectID = "1.2.840.113549.1.1.7" name = "rsaESOAEP" implementationName = "RSA-OAEP" For addressing it, use AlgorithmID.rsaESOAEP.
static AlgorithmID AlgorithmID.mgf1
          Creates an AlgorithmID for the MGF1 mask generation algorithm used in PKCS-1 v2.0.
static AlgorithmID AlgorithmID.md2WithRSAEncryption
          Creates an AlgorithmID for the md2WithRSAEncryption signature algorithm.
static AlgorithmID AlgorithmID.md4WithRSAEncryption
          Creates an AlgorithmID for the md4WithRSAEncryption signature algorithm.
static AlgorithmID AlgorithmID.md5WithRSAEncryption
          Creates an AlgorithmID for the md5WithRSAEncryption signature algorithm.
static AlgorithmID AlgorithmID.sha1WithRSAEncryption
          Creates an AlgorithmID for the sha1WithRSAEncryption signature algorithm.
static AlgorithmID AlgorithmID.dsa
          Creates an AlgorithmID for the DSA signature algorithm.
static AlgorithmID AlgorithmID.dsaX957
          Creates an AlgorithmID for the DSA signature algorithm, using the OID defined in the X.957 standard.
static AlgorithmID AlgorithmID.dsaWithSHA
          Creates an AlgorithmID for the dsaWithSHA signature algorithm.
static AlgorithmID AlgorithmID.dsaWithSHA1
          Creates an AlgorithmID for the dsaWithSHA1 signature algorithm.
static AlgorithmID AlgorithmID.pbeWithMD5AndDES_CBC
          Creates an AlgorithmID for the pbeWithMD5AndDES_CBC key-encryption algorithm as defined by PKCS#5.
static AlgorithmID AlgorithmID.pbeWithSHAAnd128BitRC4
          Creates an AlgorithmID for the pbeWithSHAAnd128BitRC4 key-encryption algorithm as defined by PKCS#12.
static AlgorithmID AlgorithmID.pbeWithSHAAnd40BitRC4
          Creates an AlgorithmID for the pbeWithSHAAnd40BitRC4 key-encryption algorithm as defined by PKCS#12.
static AlgorithmID AlgorithmID.pbeWithSHAAnd3_KeyTripleDES_CBC
          Creates an AlgorithmID for the pbeWithSHAAnd3_KeyTripleDES_CBC key-encryption algorithm as defined by PKCS#12.
static AlgorithmID AlgorithmID.pbeWithSHAAnd2_KeyTripleDES_CBC
          Creates an AlgorithmID for the pbeWithSHAAnd2_KeyTripleDES_CBC key-encryption algorithm as defined by PKCS#12.
static AlgorithmID AlgorithmID.pbeWithSHAAnd128BitRC2_CBC
          Creates an AlgorithmID for the pbeWithSHAAnd128BitRC2_CBC key-encryption algorithm as defined by PKCS#12.
static AlgorithmID AlgorithmID.pbeWithSHAAnd40BitRC2_CBC
          Creates an AlgorithmID for the pbeWithSHAAnd40BitRC2_CBC key-encryption algorithm as defined by PKCS#12.
static AlgorithmID AlgorithmID.rsa
          Creates an AlgorithmID for the RSA public key algorithm.
static AlgorithmID AlgorithmID.rc2_CBC
          Creates an AlgorithmID for the RC2 symmetric block cipher used in CBC mode.
static AlgorithmID AlgorithmID.rc4
          Creates an AlgorithmID for the RC4 stream cipher.
static AlgorithmID AlgorithmID.des_EDE3_CBC
          Creates an AlgorithmID for the Triple DES symmetric block cipher used in CBC mode.
static AlgorithmID AlgorithmID.des_CBC
          Creates an AlgorithmID for the DES symmetric block cipher used in CBC mode.
static AlgorithmID AlgorithmID.idea_CBC
          Creates an AlgorithmID for the IDEA symmetric block cipher used in CBC mode.
static AlgorithmID AlgorithmID.cast5_CBC
          Creates an AlgorithmID for the CAST5 symmetric block cipher used in CBC mode.
static AlgorithmID AlgorithmID.rc5_CBC
          Creates an AlgorithmID for the RC5 symmetric block cipher used in CBC mode.
static AlgorithmID AlgorithmID.md2
          Creates an AlgorithmID for the MD2 message digest algorithm.
static AlgorithmID AlgorithmID.md4
          Creates an AlgorithmID for the MD4 message digest algorithm.
static AlgorithmID AlgorithmID.md5
          Creates an AlgorithmID for the MD5 message digest algorithm.
static AlgorithmID AlgorithmID.sha
          Creates an AlgorithmID for the SHA message digest algorithm.
static AlgorithmID AlgorithmID.sha1
          Creates an AlgorithmID for the SHA1 message digest algorithm which is the same as SHA.
 

Methods in iaik.asn1.structures with parameters of type AlgorithmID
static boolean AlgorithmID.changeObjectID(AlgorithmID algID, ObjectID oid)
          Changes the object identifier of the given AlgorithmID object.
static boolean AlgorithmID.changeOIDString(AlgorithmID algID, java.lang.String oidString)
          Changes the object identifier string of the given AlgorithmID object.
 

Uses of AlgorithmID in iaik.pkcs.pkcs10
 

Methods in iaik.pkcs.pkcs10 that return AlgorithmID
 AlgorithmID CertificateRequest.getSignatureAlgorithmID()
          Returns the signature algorithm of this certificate request.
 

Methods in iaik.pkcs.pkcs10 with parameters of type AlgorithmID
 void CertificateRequest.sign(AlgorithmID signatureAlgorithm, PrivateKey issuerPrivateKey)
          Signs the certificate request with the private key of the subject.
 

Uses of AlgorithmID in iaik.pkcs.pkcs12
 

Methods in iaik.pkcs.pkcs12 with parameters of type AlgorithmID
 void AuthenticatedSafe.encrypt(char[] password, AlgorithmID algorithm)
          Password-based encrypts the Data containing the sequence of safe bags included in this AuthenticatedSafe, if the PASSWORD_ENCRYPTED mode has been set when creating this AuthenticatedSafe object.
protected  void PKCS8ShroudedKeyBag.encrypt(char[] password, AlgorithmID algorithm, int iterationCount)
          Encrypts this KeyBag using the given password.
 

Uses of AlgorithmID in iaik.pkcs.pkcs7
 

Methods in iaik.pkcs.pkcs7 that return AlgorithmID
 AlgorithmID RecipientInfo.getKeyEncryptionAlgorithm()
          Returns the key-encryption algorithm used for encrypting the content-encryption key with the recipient's public key.
 AlgorithmID[] SignedDataStream.getDigestAlgorithms()
          Returns a collection of message-digest algorithm identifiers.
 AlgorithmID DigestInfo.getDigestAlgorithm()
          Returns the AlgorithmID of the message-digest algorithm (including any associated parameters) that has been used for calculating the digest on the content and any authenticated information.
 AlgorithmID SignerInfo.getDigestAlgorithm()
          Returns the AlgorithmID of the message-digest algorithm that has been used for digesting the content and any authenticated attributes.
 AlgorithmID SignerInfo.getDigestEncryptionAlgorithm()
          Returns the digest-encryption algorithm used for encrypting the message digest and associated information with the signer's private key.
 AlgorithmID DigestedDataStream.getDigestAlgorithm()
          Returns the message-digest algorithm used for computing the digest.
 AlgorithmID EncryptedContentInfoStream.getContentEncryptionAlgorithm()
          Returns the content-encryption algorithm (including any associated parameters) of this EncryptedContentInfoStream.
 

Methods in iaik.pkcs.pkcs7 with parameters of type AlgorithmID
 byte[] SignedDataStream.getMessageDigest(AlgorithmID digestAlgorithm)
          Returns the message digest calculated for a specific algorithm.
 void SignedDataStream.setMessageDigest(AlgorithmID digestAlgorithm, byte[] digest)
          This method can be used to set an externally calculated MessageDigest.
 void EncryptedContentInfoStream.setupCipher(AlgorithmID contentEA, Key key, AlgorithmParameterSpec params)
          Setups the cipher for encrypting the content.
 SecretKey EncryptedContentInfoStream.setupCipher(AlgorithmID contentEA)
          Setups the cipher and generates a secret key for encrypting the content.
 SecretKey EncryptedContentInfoStream.setupCipher(AlgorithmID contentEA, int keyLength)
          Setups the cipher and generates a secret key for encrypting the content.
 

Constructors in iaik.pkcs.pkcs7 with parameters of type AlgorithmID
RecipientInfo.RecipientInfo(IssuerAndSerialNumber issuer, AlgorithmID keyEA, byte[] encryptedKey)
          Creates a RecipientInfo object with given IssuerAndSerialNumber, key-encryption algorithm, and already encrypted content encryption key.
RecipientInfo.RecipientInfo(X509Certificate recipientCertificate, AlgorithmID keyEA)
          Creates a RecipientInfo object from a given certificate.
SignedDataStream.SignedDataStream(java.io.InputStream data_is, AlgorithmID[] hashAlgorithms)
          Creates a new SignedDataStream from an InputStream holding the content that has been transmitted by other means, and an array specifying the hash algorithms to be used for digesting.
SignedAndEnvelopedDataStream.SignedAndEnvelopedDataStream(java.io.InputStream is, AlgorithmID contentEA)
          Creates a new PKCS#7 SignedAndEnvelopedData object where the content is read from the supplied InputStream.
DigestInfo.DigestInfo(AlgorithmID digestAlgorithm, byte[] digest)
          Creates a new DigestInfo from a digest algorithm and a digest.
EnvelopedDataStream.EnvelopedDataStream(java.io.InputStream is, AlgorithmID contentEA)
          Creates a new PKCS#7 EnvelopedDataStream object where the content to be enveloped is read from the supplied InputStream.
EnvelopedDataStream.EnvelopedDataStream(java.io.InputStream is, AlgorithmID contentEA, int keyLength)
          Creates a new PKCS#7 EnvelopedDataStream object where the content to be enveloped is read from the supplied InputStream.
SignerInfo.SignerInfo(IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmID digestAlgorithm, PrivateKey privateKey)
          Creates a new SignerInfo from given IssuerAndSerialNumber, digestAlgorithm ID, and the signer´s private key.
SignerInfo.SignerInfo(IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmID digestAlgorithm, AlgorithmID digestEncryptionAlgorithm, PrivateKey privateKey)
          Creates a new SignerInfo from given issuerAndSerialNumber, and digestAlgorithm ID, digest-encrytion algorithmID, and the signer´s private key.
DigestedDataStream.DigestedDataStream(java.io.InputStream data_is, AlgorithmID digestAlgorithm, int mode)
          Creates a new DigestedDataStream object from given content and and digest algorithm.
DigestedDataStream.DigestedDataStream(ObjectID contentType, AlgorithmID digestAlgorithm, byte[] digest)
          Creates a new DigestedDataStream object without content.
DigestedDataStream.DigestedDataStream(java.io.InputStream data_is, AlgorithmID digestAlgorithm)
          Creates a new DigestedDataStream from an InputStream holding the content that has been transmitted by other means, and the hash algorithm to be used for digesting.
EncryptedContentInfoStream.EncryptedContentInfoStream(ObjectID contentType, AlgorithmID contentEncAlg)
          Creates an EncryptedContentInfoStream with given content type and content-encryption algorithm ID.
 

Uses of AlgorithmID in iaik.pkcs.pkcs8
 

Fields in iaik.pkcs.pkcs8 declared as AlgorithmID
protected  AlgorithmID PrivateKeyInfo.private_key_algorithm
          Identifies the appertaining private-key algorithm.
 

Methods in iaik.pkcs.pkcs8 with parameters of type AlgorithmID
 void EncryptedPrivateKeyInfo.encrypt(java.lang.String password, AlgorithmID encryptionAlgorithm, SecureRandom random)
          Encrypts the PrivateKeyInfo data structure (PKCS#5 and PKCS#8) password based using the specified PBE algorithm.
 void EncryptedPrivateKeyInfo.encrypt(char[] password, AlgorithmID encryptionAlgorithm, SecureRandom random)
          Encrypts the PrivateKeyInfo data structure (PKCS#5 and PKCS#8) password based using the specified PBE algorithm.
 void EncryptedPrivateKeyInfo.encrypt(char[] password, AlgorithmID encryptionAlgorithm, SecureRandom random, int iterationCount)
          Encrypts the PrivateKeyInfo data structure (PKCS#5 and PKCS#8) password based using the specified PBE algorithm.
 

Uses of AlgorithmID in iaik.security.rsa
 

Constructors in iaik.security.rsa with parameters of type AlgorithmID
RSASignature.RSASignature(AlgorithmID algorithm, MessageDigest hash)
          Creates a RSA Signature object with a specified hash algorithm.
 

Uses of AlgorithmID in iaik.utils
 

Methods in iaik.utils with parameters of type AlgorithmID
 void KeyAndCertificate.encrypt(char[] password, AlgorithmID encryptionAlgorithm, SecureRandom random)
          Encrypt the private key with the specified password, the encryption algorithm and the specified random number generated.
 

Uses of AlgorithmID in iaik.x509
 

Fields in iaik.x509 declared as AlgorithmID
protected  AlgorithmID PublicKeyInfo.public_key_algorithm
          The algorithm identifier of the public key algorithm belonging to the particular public key implemeting this PublicKeyInfo.
 

Methods in iaik.x509 that return AlgorithmID
 AlgorithmID X509Certificate.getSignatureAlgorithm()
          Returns the signature algorithm of this certificate.
 AlgorithmID X509CRL.getSignatureAlgorithm()
          Returns the signature algorithm of this CRL.
 

Methods in iaik.x509 with parameters of type AlgorithmID
 void X509Certificate.sign(AlgorithmID signatureAlg, PrivateKey issuerPK)
          Signs the certificate with the private key of the issuer.
 void X509Certificate.setSignatureAlgorithm(AlgorithmID signatureAlg)
          Sets the signature algorithm to be used for signing.
 void X509CRL.setSignatureAlgorithm(AlgorithmID signatureAlg)
          Sets the signature algorithm for signing this CRL.