public PKCS10Attribute(PKCS9Attribute attr){
  this.attributeId=attr.getOID();
  this.attributeValue=attr.getValue();
}

public PKCS10Attribute ( PKCS9Attribute attr ) { this . attributeId = attr . getOID ( ) ; this . attributeValue = attr . getValue ( ) ; }
constructs an attribute from pkcs9 attribute .
