Skip to content

Wrong OIDs in JavaDoc for NISTObjectIdentifiers #1176

Description

@mgrafl

In NISTObjectIdentifiers the constants for RSA PKCS #1 v1.5 Signature with SHA-3 family have different OIDs in their JavaDoc comments than what the actually specify, (e.g., id_rsassa_pkcs1_v1_5_with_sha3_224 is specified as OID "2.16.840.1.101.3.4.3.13" but is documented as "2.16.840.1.101.3.4.3.9".

// RSA PKCS #1 v1.5 Signature with SHA-3 family.
/** 2.16.840.1.101.3.4.3.9 */
static final ASN1ObjectIdentifier id_rsassa_pkcs1_v1_5_with_sha3_224 = sigAlgs.branch("13");
/** 2.16.840.1.101.3.4.3.10 */
static final ASN1ObjectIdentifier id_rsassa_pkcs1_v1_5_with_sha3_256 = sigAlgs.branch("14");
/** 2.16.840.1.101.3.4.3.11 */
static final ASN1ObjectIdentifier id_rsassa_pkcs1_v1_5_with_sha3_384 = sigAlgs.branch("15");
/** 2.16.840.1.101.3.4.3.12 */
static final ASN1ObjectIdentifier id_rsassa_pkcs1_v1_5_with_sha3_512 = sigAlgs.branch("16");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions