Home >> All >> gnu >> java >> security >> [ sig Javadoc ] |

• | gnu.java.security.sig.dss.* (3) | • | gnu.java.security.sig.rsa.* (10) |

**•**

**gnu.java.security.sig**: Javadoc index of package gnu.java.security.sig.

**Package Samples:**

**•**gnu.java.security.sig.dss

**•**gnu.java.security.sig.rsa

**Classes:**

**•**DSSSignature: The DSS (Digital Signature Standard) algorithm makes use of the following parameters: p: A prime modulus, where 2 L-1 < p < 2 L for 512 <= L <= 1024 and L a multiple of 64 . q: A prime divisor of p - 1 , where 2 159 < q < 2 160 . g: Where g = h (p-1) /q mod p , where h is any integer with 1 < h < p - 1 such that h (p-1) /q mod p > 1 ( g has order q mod p ). x: A randomly or pseudorandomly generated integer with 0 < x < q . y: y = g x mod p . k: A randomly or pseudorandomly generated integer with 0 < k < q . The integers p , q , and g can be public and can be ...

**•**DSSSignatureX509Codec: An implementation of an gnu.java.security.sig.ISignatureCodec that knows to encode and decode DSS signatures into the raw bytes which would constitute a DER-encoded form of the ASN.1 structure defined in RFC-2459, and RFC-2313 as described in the next paragraphs. Digital signatures when transmitted in an X.509 certificates are encoded in DER (Distinguished Encoding Rules) as a BIT STRING; i.e. Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING } The output of the encoder, and the input of the decoder, of this codec are then the ...

**•**RSAPKCS1V1_5SignatureX509Codec: An implementation of an gnu.java.security.sig.ISignatureCodec that knows to encode and decode RSA PKCS1 (v1.5) signatures into the raw bytes which would constitute a DER-encoded form of the ASN.1 structure defined in RFC-2459, and RFC-2313 as described in the next paragraphs. Digital signatures when transmitted in an X.509 certificates are encoded in DER (Distinguished Encoding Rules) as a BIT STRING; i.e. Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING } The output of the encoder, and the input of the decoder, of this codec ...

**•**EMSA_PSS: An implementation of the EMSA-PSS encoding/decoding scheme. EMSA-PSS coincides with EMSA4 in IEEE P1363a D5 except that EMSA-PSS acts on octet strings and not on bit strings. In particular, the bit lengths of the hash and the salt must be multiples of 8 in EMSA-PSS. Moreover, EMSA4 outputs an integer of a desired bit length rather than an octet string. EMSA-PSS is parameterized by the choice of hash function Hash and mask generation function MGF. In this submission, MGF is based on a Hash definition that coincides with the corresponding definitions in IEEE Std 1363-2000, PKCS #1 v2.0, and the draft ...

**•**RSAPSSSignature: The RSA-PSS signature scheme is a public-key encryption scheme combining the RSA algorithm with the Probabilistic Signature Scheme (PSS) encoding method. The inventors of RSA are Ronald L. Rivest, Adi Shamir, and Leonard Adleman, while the inventors of the PSS encoding method are Mihir Bellare and Phillip Rogaway. During efforts to adopt RSA-PSS into the P1363a standards effort, certain adaptations to the original version of RSA-PSS were made by Mihir Bellare and Phillip Rogaway and also by Burt Kaliski (the editor of IEEE P1363a) to facilitate implementation and integration into existing protocols. ...

**•**ISignature: The visible methods of every signature-with-appendix scheme. The Handbook of Applied Cryptography (HAC), by A. Menezes & al. states: "Digital signature schemes which require the message as input to the verification algorithm are called digital signature schemes with appendix . ... They rely on cryptographic hash functions rather than customised redundancy functions, and are less prone to existential forgery attacks." References: Handbook of Applied Cryptography , Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone. Section 11.2.2 Digital signature schemes with appendix.

**•**RSA: Utility methods related to the RSA algorithm. References: RSA-PSS Signature Scheme with Appendix, part B. Primitive specification and supporting documentation. Jakob Jonsson and Burt Kaliski. Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1. Jakob Jonsson and Burt Kaliski. Remote timing attacks are practical D. Boneh and D. Brumley.

**•**RSAPKCS1V1_5Signature: The RSA-PKCS1-V1.5 signature scheme is a digital signature scheme with appendix (SSA) combining the RSA algorithm with the EMSA-PKCS1-v1_5 encoding method. References: RSA-PSS Signature Scheme with Appendix, part B. Primitive specification and supporting documentation. Jakob Jonsson and Burt Kaliski. Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1. Jakob Jonsson and Burt Kaliski.

**•**EMSA_PKCS1_V1_5: An implementation of the EMSA-PKCS1-V1.5 encoding scheme. EMSA-PKCS1-V1.5 is parameterised by the choice of hash function Hash and hLen which denotes the length in octets of the hash function output. References: Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1. Jakob Jonsson and Burt Kaliski.

**•**EME_PKCS1_V1_5: An implementation of the EME-PKCS1-V1.5 encoding and decoding methods. EME-PKCS1-V1.5 is parameterised by the entity k which is the byte count of an RSA public shared modulus. References: Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1. Jakob Jonsson and Burt Kaliski.

**•**ISignatureCodec: The visible methods of an object that knows how to encode and decode cryptographic signatures. Codecs are useful for (a) externalising signature output data for storage and on-the-wire transmission, as well as (b) re- creating their internal Java representation from external sources.

**•**RSAPKCS1V1_5SignatureRawCodec: An object that implements the gnu.java.security.sig.ISignatureCodec operations for the Raw format to use with RSA-PKCS#1 v1.5 signatures.

**•**DSSSignatureRawCodec: An object that implements the gnu.java.security.sig.ISignatureCodec operations for the Raw format to use with DSS signatures.

**•**RSAPSSSignatureRawCodec: An object that implements the gnu.crypto.sig.ISignatureCodec operations for the Raw format to use with RSA-PSS signatures.

**•**BaseSignature: A base abstract class to facilitate implementations of concrete Signatures.

**•**SignatureFactory: A Factory to instantiate signature-with-appendix handlers.

**•**SignatureCodecFactory: A Factory class to instantiate Signature codecs.

**•**RSASignatureFactory: A Factory class to instantiate RSA Signature classes.

Home | Contact Us | Privacy Policy | Terms of Service |