<KeyResolver URI="http://www.w3.org/2000/09/xmldsig#KeyValue" JAVACLASS="MyPackage.MyKeyValueImpl"//gt;Extensions of this class must be thread-safe.
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean | Returns: whether the KeyResolverSpi is able to perform the requested action.This method returns whether the KeyResolverSpi is able to perform the requested action. |
public PrivateKey | Returns: resolved PrivateKey key from the registered from the elementsMethod engineLookupAndResolvePrivateKey |
public PublicKey | Returns: resolved public key from the registered from the element.Method engineLookupAndResolvePublicKey |
public SecretKey | Returns: resolved SecretKey key from the registered from the elementsMethod engineLookupAndResolveSecretKey |
public X509Certificate | Returns: resolved X509Certificate key from the registered from the elementsMethod engineLookupResolveX509Certificate |
protected abstract PrivateKey | Returns: resolved PrivateKey key from the registered from the elementsMethod engineResolvePrivateKey |
protected abstract PublicKey | Returns: resolved public key from the registered from the element.Method engineResolvePublicKey |
protected abstract SecretKey | Returns: resolved SecretKey key from the registered from the elementsMethod engineResolveSecretKey |
protected abstract X509Certificate | Returns: resolved X509Certificate key from the registered from the elementsMethod engineResolveCertificate |
protected static Element | Returns: the Document Element after parsing bytesParses a byte array and returns the parsed Element. |
KeyResolverSpi | back to summary |
---|---|
public KeyResolverSpi() |
engineCanResolve | back to summary |
---|---|
protected abstract boolean engineCanResolve(Element element, String baseURI, StorageResolver storage) This method returns whether the KeyResolverSpi is able to perform the requested action.
|
engineLookupAndResolvePrivateKey | back to summary |
---|---|
public PrivateKey engineLookupAndResolvePrivateKey(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineLookupAndResolvePrivateKey
|
engineLookupAndResolvePublicKey | back to summary |
---|---|
public PublicKey engineLookupAndResolvePublicKey(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineLookupAndResolvePublicKey
|
engineLookupAndResolveSecretKey | back to summary |
---|---|
public SecretKey engineLookupAndResolveSecretKey(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineLookupAndResolveSecretKey
|
engineLookupResolveX509Certificate | back to summary |
---|---|
public X509Certificate engineLookupResolveX509Certificate(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineLookupResolveX509Certificate
|
engineResolvePrivateKey | back to summary |
---|---|
protected abstract PrivateKey engineResolvePrivateKey(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineResolvePrivateKey
|
engineResolvePublicKey | back to summary |
---|---|
protected abstract PublicKey engineResolvePublicKey(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineResolvePublicKey
|
engineResolveSecretKey | back to summary |
---|---|
protected abstract SecretKey engineResolveSecretKey(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineResolveSecretKey
|
engineResolveX509Certificate | back to summary |
---|---|
protected abstract X509Certificate engineResolveX509Certificate(Element element, String baseURI, StorageResolver storage, boolean secureValidation) throws KeyResolverException Method engineResolveCertificate
|
getDocFromBytes | back to summary |
---|---|
protected static Element getDocFromBytes(byte[] bytes, boolean secureValidation) throws KeyResolverException Parses a byte array and returns the parsed Element.
|