*/
public final void testGetPolicyQualifierId() throws IOException {
// get valid encoding
byte[] encoding = getDerEncoding();
// pass valid array
PolicyQualifierInfo i = new PolicyQualifierInfo(encoding);
// get OID as String and check it
assertEquals("1.3.6.1.5.5.7.2.1", i.getPolicyQualifierId());
// get valid encoding
encoding = getDerEncoding();
// change OID to 1.3.98437.82818.1
encoding[5] = (byte)0x86;
encoding[6] = (byte)0x81;
encoding[8] = (byte)0x85;
encoding[9] = (byte)0x87;
i = new PolicyQualifierInfo(encoding);
// get OID as String and check it
assertEquals("1.3.98437.82818.1", i.getPolicyQualifierId());
}