Methods Summary |
---|
public ICryptoAgent | deregisterCryptoAgent(java.lang.String sOwnerIdentifier)Deregister a crypto agent.
return (ICryptoAgent)m_oOwnerIdentifierToCryptoAgentMap.remove(sOwnerIdentifier);
|
public static org.blinkenlights.jid3.crypt.ID3Encryption | getInstance()Get the single instance of the ID3Encryption registrar.
synchronized(ID3Encryption.class)
{
if (s_oInstance == null)
{
s_oInstance = new ID3Encryption();
}
}
return s_oInstance;
|
public ICryptoAgent | lookupCryptoAgent(java.lang.String sOwnerIdentifier)Look up a registered crypto agent.
return (ICryptoAgent)m_oOwnerIdentifierToCryptoAgentMap.get(sOwnerIdentifier);
|
public void | registerCryptoAgent(ICryptoAgent oCryptoAgent)Register a crypto agent. This is the means by which support for encryption algorithms are added.
An encryption method must be registered before it can be used to encrypt or decrypt an encrypted ID3V2 frame.
m_oOwnerIdentifierToCryptoAgentMap.put(oCryptoAgent.getOwnerIdentifier(), oCryptoAgent);
|