private Attribute toAttribute(final TransactionId transId) {
        ASN1ObjectIdentifier oid = toOid(TRANS_ID.id());
        return new Attribute(oid, new DERSet(new DERPrintableString(
                transId.toString())));
    }
private Attribute toAttribute ( final TransactionId transId ) { ASN1ObjectIdentifier oid = toOid ( TRANS_ID . id ( ) ) ; return new Attribute ( oid , new DERSet ( new DERPrintableString ( transId . toString ( ) ) ) ) ; }
@param transId
the transaction ID
@return the converted attribute.