Class DOMKeyInfoFactory
- java.lang.Object
-
- javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
- org.apache.jcp.xml.dsig.internal.dom.DOMKeyInfoFactory
-
public final class DOMKeyInfoFactory extends javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
DOM-based implementation of KeyInfoFactory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
DOMKeyInfoFactory.UnmarshalContext
-
Constructor Summary
Constructors Constructor Description DOMKeyInfoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.crypto.URIDereferencer
getURIDereferencer()
boolean
isFeatureSupported(java.lang.String feature)
javax.xml.crypto.dsig.keyinfo.KeyInfo
newKeyInfo(java.util.List content)
javax.xml.crypto.dsig.keyinfo.KeyInfo
newKeyInfo(java.util.List content, java.lang.String id)
javax.xml.crypto.dsig.keyinfo.KeyName
newKeyName(java.lang.String name)
javax.xml.crypto.dsig.keyinfo.KeyValue
newKeyValue(java.security.PublicKey key)
javax.xml.crypto.dsig.keyinfo.PGPData
newPGPData(byte[] keyId)
javax.xml.crypto.dsig.keyinfo.PGPData
newPGPData(byte[] keyId, byte[] keyPacket, java.util.List other)
javax.xml.crypto.dsig.keyinfo.PGPData
newPGPData(byte[] keyPacket, java.util.List other)
javax.xml.crypto.dsig.keyinfo.RetrievalMethod
newRetrievalMethod(java.lang.String uri)
javax.xml.crypto.dsig.keyinfo.RetrievalMethod
newRetrievalMethod(java.lang.String uri, java.lang.String type, java.util.List transforms)
javax.xml.crypto.dsig.keyinfo.X509Data
newX509Data(java.util.List content)
javax.xml.crypto.dsig.keyinfo.X509IssuerSerial
newX509IssuerSerial(java.lang.String issuerName, java.math.BigInteger serialNumber)
javax.xml.crypto.dsig.keyinfo.KeyInfo
unmarshalKeyInfo(javax.xml.crypto.XMLStructure xmlStructure)
-
-
-
Method Detail
-
newKeyInfo
public javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content)
- Specified by:
newKeyInfo
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newKeyInfo
public javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content, java.lang.String id)
- Specified by:
newKeyInfo
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newKeyName
public javax.xml.crypto.dsig.keyinfo.KeyName newKeyName(java.lang.String name)
- Specified by:
newKeyName
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newKeyValue
public javax.xml.crypto.dsig.keyinfo.KeyValue newKeyValue(java.security.PublicKey key) throws java.security.KeyException
- Specified by:
newKeyValue
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
- Throws:
java.security.KeyException
-
newPGPData
public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId)
- Specified by:
newPGPData
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newPGPData
public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId, byte[] keyPacket, java.util.List other)
- Specified by:
newPGPData
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newPGPData
public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyPacket, java.util.List other)
- Specified by:
newPGPData
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newRetrievalMethod
public javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri)
- Specified by:
newRetrievalMethod
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newRetrievalMethod
public javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri, java.lang.String type, java.util.List transforms)
- Specified by:
newRetrievalMethod
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newX509Data
public javax.xml.crypto.dsig.keyinfo.X509Data newX509Data(java.util.List content)
- Specified by:
newX509Data
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newX509IssuerSerial
public javax.xml.crypto.dsig.keyinfo.X509IssuerSerial newX509IssuerSerial(java.lang.String issuerName, java.math.BigInteger serialNumber)
- Specified by:
newX509IssuerSerial
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
isFeatureSupported
public boolean isFeatureSupported(java.lang.String feature)
- Specified by:
isFeatureSupported
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
getURIDereferencer
public javax.xml.crypto.URIDereferencer getURIDereferencer()
- Specified by:
getURIDereferencer
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
unmarshalKeyInfo
public javax.xml.crypto.dsig.keyinfo.KeyInfo unmarshalKeyInfo(javax.xml.crypto.XMLStructure xmlStructure) throws javax.xml.crypto.MarshalException
- Specified by:
unmarshalKeyInfo
in classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
- Throws:
javax.xml.crypto.MarshalException
-
-