| Package | Description |
|---|---|
| org.apache.xml.security.utils |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
DERDecoderUtils.getAlgorithmIdBytes(InputStream derEncodedIS)
Simple method parses an ASN.1 encoded byte array.
|
static String |
DERDecoderUtils.getAlgorithmIdFromPublicKey(PublicKey publicKey)
The method extracts the algorithm OID from the public key and returns it as "dot encoded" OID string.
|
static int |
DERDecoderUtils.readLength(InputStream derEncodedIs)
Get the DER length at the current position.
|
static byte[] |
DERDecoderUtils.readObjectIdentifier(InputStream derEncodedIS)
Read the next object identifier from the given DER-encoded input stream.
|
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.