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.KeyInfoFactoryDOM-based implementation of KeyInfoFactory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classDOMKeyInfoFactory.UnmarshalContext
-
Constructor Summary
Constructors Constructor Description DOMKeyInfoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.crypto.URIDereferencergetURIDereferencer()booleanisFeatureSupported(java.lang.String feature)javax.xml.crypto.dsig.keyinfo.KeyInfonewKeyInfo(java.util.List content)javax.xml.crypto.dsig.keyinfo.KeyInfonewKeyInfo(java.util.List content, java.lang.String id)javax.xml.crypto.dsig.keyinfo.KeyNamenewKeyName(java.lang.String name)javax.xml.crypto.dsig.keyinfo.KeyValuenewKeyValue(java.security.PublicKey key)javax.xml.crypto.dsig.keyinfo.PGPDatanewPGPData(byte[] keyId)javax.xml.crypto.dsig.keyinfo.PGPDatanewPGPData(byte[] keyId, byte[] keyPacket, java.util.List other)javax.xml.crypto.dsig.keyinfo.PGPDatanewPGPData(byte[] keyPacket, java.util.List other)javax.xml.crypto.dsig.keyinfo.RetrievalMethodnewRetrievalMethod(java.lang.String uri)javax.xml.crypto.dsig.keyinfo.RetrievalMethodnewRetrievalMethod(java.lang.String uri, java.lang.String type, java.util.List transforms)javax.xml.crypto.dsig.keyinfo.X509DatanewX509Data(java.util.List content)javax.xml.crypto.dsig.keyinfo.X509IssuerSerialnewX509IssuerSerial(java.lang.String issuerName, java.math.BigInteger serialNumber)javax.xml.crypto.dsig.keyinfo.KeyInfounmarshalKeyInfo(javax.xml.crypto.XMLStructure xmlStructure)
-
-
-
Method Detail
-
newKeyInfo
public javax.xml.crypto.dsig.keyinfo.KeyInfo newKeyInfo(java.util.List content)
- Specified by:
newKeyInfoin 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:
newKeyInfoin classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newKeyName
public javax.xml.crypto.dsig.keyinfo.KeyName newKeyName(java.lang.String name)
- Specified by:
newKeyNamein 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:
newKeyValuein classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory- Throws:
java.security.KeyException
-
newPGPData
public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyId)
- Specified by:
newPGPDatain 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:
newPGPDatain classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newPGPData
public javax.xml.crypto.dsig.keyinfo.PGPData newPGPData(byte[] keyPacket, java.util.List other)- Specified by:
newPGPDatain classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newRetrievalMethod
public javax.xml.crypto.dsig.keyinfo.RetrievalMethod newRetrievalMethod(java.lang.String uri)
- Specified by:
newRetrievalMethodin 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:
newRetrievalMethodin classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
newX509Data
public javax.xml.crypto.dsig.keyinfo.X509Data newX509Data(java.util.List content)
- Specified by:
newX509Datain 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:
newX509IssuerSerialin classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
isFeatureSupported
public boolean isFeatureSupported(java.lang.String feature)
- Specified by:
isFeatureSupportedin classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory
-
getURIDereferencer
public javax.xml.crypto.URIDereferencer getURIDereferencer()
- Specified by:
getURIDereferencerin 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:
unmarshalKeyInfoin classjavax.xml.crypto.dsig.keyinfo.KeyInfoFactory- Throws:
javax.xml.crypto.MarshalException
-
-