| Modifier and Type | Field and Description |
|---|---|
| private static Map | algorithmHash
All available algorithm classes are registered here |
| private final String | |
| private static final Logger | |
| private final SignatureAlgorithmSpi | signatureAlgorithmSpi
Field signatureAlgorithm |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | SignatureAlgorithm(Document doc, String algorithmURI, Provider provider, AlgorithmParameterSpec parameterSpec)
|
| public | SignatureAlgorithm(Document doc, String algorithmURI, int hmacOutputLength)
Constructor SignatureAlgorithm |
| public | |
| public | |
| public | |
| public | SignatureAlgorithm(Element element, String baseURI, boolean secureValidation)
Constructor SignatureAlgorithm |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: Local nameImplements abstract com. Method getBaseLocalName |
| public String | Returns: URI of this elementOverrides com. Method getBaseNamespace |
| public String | Returns: the result of thejava. methodProxy method for |
| public String | |
| private static SignatureAlgorithmSpi | getSignatureAlgorithmSpi(String algorithmURI, Provider provider)
Get a SignatureAlgorithmSpi object corresponding to the algorithmURI argument |
| public final String | Returns: the URI representation of Transformation algorithmReturns the URI representation of Transformation algorithm |
| public void | initSign(Key signingKey)
Proxy method for |
| public void | initSign(Key signingKey, SecureRandom secureRandom)
Proxy method for |
| public void | initSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
Proxy method for |
| public void | initVerify(Key verificationKey)
Proxy method for |
| public static void | register(String
algorithmURI URI representation of algorithmURI, String SignatureAlgorithm.implementingClass the implementing class of
SignatureAlgorithmSpiRegisters implementing class of the SignatureAlgorithm with algorithmURI |
| public static void | register(String
algorithmURI URI representation of algorithmURI, Class<? extends SignatureAlgorithmSpi> SignatureAlgorithm.implementingClass the implementing class of
SignatureAlgorithmSpiRegisters implementing class of the SignatureAlgorithm with algorithmURI |
| public static void | |
| public void | setParameter(AlgorithmParameterSpec params)
Proxy method for |
| public byte[] | Returns: the result of thejava. methodProxy method for |
| public void | update(byte[] input)
Proxy method for |
| public void | update(byte input)
Proxy method for |
| public void | update(byte[] buf, int offset, int len)
Proxy method for |
| public boolean | Returns: true if the signature is valid.Proxy method for |
| algorithmHash | back to summary |
|---|---|
| private static Map<String, Class<? extends SignatureAlgorithmSpi>> algorithmHash All available algorithm classes are registered here | |
| algorithmURI | back to summary |
|---|---|
| private final String algorithmURI | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides com. | |
| signatureAlgorithmSpi | back to summary |
|---|---|
| private final SignatureAlgorithmSpi signatureAlgorithmSpi Field signatureAlgorithm | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Document doc, String algorithmURI) throws XMLSecurityException Constructor SignatureAlgorithm | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Document doc, String algorithmURI, Provider provider) throws XMLSecurityException | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Document doc, String algorithmURI, Provider provider, AlgorithmParameterSpec parameterSpec) throws XMLSecurityException | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Document doc, String algorithmURI, int hmacOutputLength) throws XMLSecurityException Constructor SignatureAlgorithm | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Document doc, String algorithmURI, int hmacOutputLength, Provider provider) throws XMLSecurityException | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Element element, String baseURI) throws XMLSecurityException Constructor SignatureAlgorithm | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Element element, String baseURI, Provider provider) throws XMLSecurityException | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Element element, String baseURI, boolean secureValidation) throws XMLSecurityException Constructor SignatureAlgorithm | |
| SignatureAlgorithm | back to summary |
|---|---|
| public SignatureAlgorithm(Element element, String baseURI, boolean secureValidation, Provider provider) throws XMLSecurityException | |
| getBaseLocalName | back to summary |
|---|---|
| public String getBaseLocalName() Implements abstract com. Method getBaseLocalName | |
| getBaseNamespace | back to summary |
|---|---|
| public String getBaseNamespace() Overrides com. Method getBaseNamespace | |
| getJCEAlgorithmString | back to summary |
|---|---|
| public String getJCEAlgorithmString() Proxy method for
| |
| getJCEProviderName | back to summary |
|---|---|
| public String getJCEProviderName() Method getJCEProviderName
| |
| getSignatureAlgorithmSpi | back to summary |
|---|---|
| private static SignatureAlgorithmSpi getSignatureAlgorithmSpi(String algorithmURI, Provider provider) throws XMLSignatureException Get a SignatureAlgorithmSpi object corresponding to the algorithmURI argument | |
| getURI | back to summary |
|---|---|
| public final String getURI() Returns the URI representation of Transformation algorithm
| |
| initSign | back to summary |
|---|---|
| public void initSign(Key signingKey) throws XMLSignatureException Proxy method for | |
| initSign | back to summary |
|---|---|
| public void initSign(Key signingKey, SecureRandom secureRandom) throws XMLSignatureException Proxy method for | |
| initSign | back to summary |
|---|---|
| public void initSign(Key signingKey, AlgorithmParameterSpec algorithmParameterSpec) throws XMLSignatureException Proxy method for | |
| initVerify | back to summary |
|---|---|
| public void initVerify(Key verificationKey) throws XMLSignatureException Proxy method for | |
| register | back to summary |
|---|---|
| public static void register(String algorithmURI, String implementingClass) throws AlgorithmAlreadyRegisteredException, ClassNotFoundException, XMLSignatureException Registers implementing class of the SignatureAlgorithm with algorithmURI
| |
| register | back to summary |
|---|---|
| public static void register(String algorithmURI, Class<? extends SignatureAlgorithmSpi> implementingClass) throws AlgorithmAlreadyRegisteredException, ClassNotFoundException, XMLSignatureException Registers implementing class of the SignatureAlgorithm with algorithmURI
| |
| registerDefaultAlgorithms | back to summary |
|---|---|
| public static void registerDefaultAlgorithms() This method registers the default algorithms. | |
| setParameter | back to summary |
|---|---|
| public void setParameter(AlgorithmParameterSpec params) throws XMLSignatureException Proxy method for | |
| sign | back to summary |
|---|---|
| public byte[] sign() throws XMLSignatureException Proxy method for
| |
| update | back to summary |
|---|---|
| public void update(byte[] input) throws XMLSignatureException Proxy method for | |
| update | back to summary |
|---|---|
| public void update(byte input) throws XMLSignatureException Proxy method for | |
| update | back to summary |
|---|---|
| public void update(byte[] buf, int offset, int len) throws XMLSignatureException Proxy method for | |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] signature) throws XMLSignatureException Proxy method for
| |