if (o == null || o instanceof ContentIdentifier)
{
return (ContentIdentifier) o;
}
else if (o instanceof ASN1OctetString)
{
return new ContentIdentifier((ASN1OctetString) o);
}
throw new IllegalArgumentException(
"unknown object in 'ContentIdentifier' factory : "
+ o.getClass().getName() + ".");